558 Posted Topics

Member Avatar for arrbug

[QUOTE=MidiMagic;996969]- Alignment is not inherited from div to table. You need to apply the style to the td tags. - The php script may be overriding the style. - If there is any syntax error in the style, the entire style becomes invalid in some browsers. You have syntax errors, …

Member Avatar for Troy III
0
111
Member Avatar for puk

[QUOTE=puk;996549]I have a text box in a form that is validated to accept a value called ds01 but i also want the textbox to be allowed to accept empty spaces that is if nothing is entered in the textbox. The problem is that it does not accept anything other than …

Member Avatar for Troy III
-1
115
Member Avatar for drewjj

[QUOTE=drewjj;994424]Hi People, Hope some body can help I have been pulling my hair out over the last few days trying to figure this out!! Problem: I have narrowed the problem down to a <div> with a 2 floating images and float <ul> <li> as my menu. When the inner wrap …

Member Avatar for Troy III
0
108
Member Avatar for akulkarni

[QUOTE=akulkarni;996568]i am trying to help a friend on a program on client side scripting using javascript. i have the following code but i am not getting the output desired. [code] <html> <head> <Script language="JavaScript"> var usernameVal; if(document.f1.usernameVal.value.length<3) { alert("username is invalid") return false; } else { alert("acceptable") } </script> </head> …

Member Avatar for Troy III
0
123
Member Avatar for Mike_H

[QUOTE=Mike_H;980995]I have a page with one image that I need to center both horizontally and vertically in the browser window and also to fit vertically without going past the viewport of the screen. It needs to be able to do this on IE7+/Firefox 3+ and all variations of screen resolutions …

Member Avatar for MidiMagic
0
368
Member Avatar for j_limboo

[QUOTE=j_limboo;992512]New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript …

Member Avatar for j_limboo
0
125
Member Avatar for tarunkhatri

[QUOTE=tarunkhatri;994113]I have a javascript function for calculating sum of values in row and colom of a table. It is using get element by id table name. So is table specific. I am calling that function every time a value changes in the table by [CODE]<td><input type="text" value="0" size = "2" …

Member Avatar for Troy III
0
173
Member Avatar for jeffherron

[QUOTE=jeffherron;992562]Please view the following URL in IE8 and then in any other browser. [url]http://minorityrecruitonline.com/college/default.aspx[/url] It looks fine in every browser except for IE8. The culprit is the extra space being included after the </form> tag. Does anyone know how to remove this space from IE8? I have tried all the …

Member Avatar for prateeksha
0
330
Member Avatar for adino2

[QUOTE=adino2;992223]I written a code to create a image viewer using javascript. But the script only works in IE but not in firefox. Please help. The code is below...... [CODE] <script type="text/javascript"> function changeImage(filename) { mainimage.src = filename; } </script> <center> <img src="images/bg.jpg" name="mainimage" width="419" height="282"> <marquee width="90%" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();"> …

Member Avatar for matthewmaxwell
0
143
Member Avatar for Agent Cosmic

[QUOTE=Agent Cosmic;741385]I am very interested in developing RIAs. So I just wanted to know you opinions of each of them. I have a good foundation of XHTML and CSS, so is AJAX better? [/QUOTE] Better than XHTML and CSS or better than better?! You've titled this thread ajax vs flash …

Member Avatar for Troy III
0
111
Member Avatar for serkan sendur

[CODE]# This is a good example of using javascript innerText property which is not # as popular as innerHTML property[/CODE] Yeah, good old sanity method, -not supported by crippled "modern" browsers until yesterday! In fact, firefox still dosn't - currently tested in fx 3.5.3 no error but no go either...

Member Avatar for digital-ether
0
222
Member Avatar for Altairzq

The values are being kept and passed on function argument variables base & exponent, and the function will call itself until the exponent variable value reaches 0 ending the loop with 1. Such a small, simple and powerful code deserves admiration :')

Member Avatar for ~s.o.s~
0
132
Member Avatar for Sereal_Killer

What do you need exctly? 1. Zoom to its native size; or 2. stretch it out to maximum available width/hight; 3. or stretch it by percetage zoom to 100% 200% 300% etc?

Member Avatar for donfady
0
171
Member Avatar for itsjareds

try changing the [ICODE] embeds[i].insertVid(id);[/ICODE] into [code]insertVid(embeds[i].id);[/code]

Member Avatar for Troy III
0
202
Member Avatar for anbushiva

suppose you have ids of text elements as you mention: "1hr, 2hr, 3hr, 4hr, 5hr...." [CODE]javascript: var D = new Date(); var h = D.getHours(); [/CODE] [CODE] document.getElementById(h+'hr').style.backgroundColor = "red"[/CODE] that would set the correct text element background color to a (highly) distinctive color there. :') If you'd like it …

Member Avatar for kylegetson
0
124
Member Avatar for SCRAWL

[QUOTE=SCRAWL;964201]This is how my site currently looks on my PC: [url]http://i30.tinypic.com/j6ramv.jpg[/url] However, when I go on a friend's computer or someone else's with a different resolution, it displays differently. Instead, those circled (or squared) elements break onto the next line for some strange reason. If anybody can help me to …

Member Avatar for Troy III
0
115
Member Avatar for sunilsinha

Sorry, that's something that can be done in IE5 and later only. You can try this code from: [URL="http://www.astahost.com/info.php/Vertical-Text_t15636.html#102714"]develCuy[/URL] posted on Apr 29 2007, 11:02 PM. [ICODE]<html> <head> <style type="text/css"> .verticaltext{ font: bold 13px Arial; position: absolute; right: 3px; top: 20px; width: 15px; writing-mode: tb-rl; } </style> </head> <body> <div …

Member Avatar for rhand
0
170
Member Avatar for ytregnn

[QUOTE=ytregnn;984996]Didnt work :( It's like a table within a table. I have one table with to colums, then inside the second column I have another table - I'd like to have that table positioned within the column somewhere in between left and center.[/QUOTE] Your table row width is = 410px; …

Member Avatar for Troy III
0
96
Member Avatar for itisnot_me

[QUOTE=itisnot_me;983230]is it possible to[COLOR="Red"] run a command in javascript when someone paste text into a textarea[/COLOR]? What i am trying to do is make a [COLOR="Red"]remove format command[/COLOR] in the text editor run when they paste. And if it is possible make it run the command on the text without …

Member Avatar for Troy III
0
63
Member Avatar for Sereal_Killer

[QUOTE=Sereal_Killer;984608]hmm is there an edit button? anyway i changed my code a bit to using event listeners but i still cant get the Id to appear in the alert i get either HTMLElement or something like that in the alert or i get an empty alert box anyone know what …

Member Avatar for Sereal_Killer
0
247
Member Avatar for jazzycontact

[QUOTE=jazzycontact;985524]hi i don't know it is wright place for it or not. i am new in javascript programming. i am try to implement find and replace functionality. in it i want to search keyword in particular div only. not other part of the page. i have implement following code . …

Member Avatar for Troy III
0
130
Member Avatar for Mapper99

[QUOTE=Mapper99;984047]I have created a PHP page using CSS for styling. It looks great in IE. However, in Firefox, it is just a mess. Here is the link to the page: [url]http://www.laudontech.com/temp/pceditor.php[/url] Any ideas? Should I develop for Firefox, then try and fix for IE? Or, the other way around? Thanks …

Member Avatar for Mapper99
0
163
Member Avatar for martyna

[QUOTE=martyna;982314]The essential things you need to get your own site online are: - A website building tool - A domain name - A web host[/QUOTE] You'll need to have: - A Reason to do something like that; - A content-thing really worthed exposing there; - Real Money, or: personal skills …

Member Avatar for jamesschmidth
0
140
Member Avatar for Altairzq

[QUOTE=Altairzq;982908]Hello I'm using this code I got from an example: [ICODE] <head> <TITLE>Creating a link</TITLE> <SCRIPT LANGUAGE="JavaScript"> <!-- function createLink() { var szURL = prompt("Enter a URL:", "http://"); if ((szURL != null) && (szURL != "")) { document.execCommand("CreateLink",false,szURL); } } // --> </SCRIPT> </HEAD> <BODY> <H1>Creating a link</H1> Here's some …

Member Avatar for Troy III
0
2K
Member Avatar for sassenach

[QUOTE=sassenach;981414]Hi, I am using PHP & mySql to grab the title and description that I have stored in a table in the DB. I am trying to dynamically change the <head> <title></title>, as well as <meta name="Description" content="" /> . [/QUOTE] That's lots of coding ahead... [QUOTE] I used document.title …

Member Avatar for Troy III
0
817
Member Avatar for --min

[QUOTE=--min;981973]Hi, I'm new to the forum and have just come across this issue when testing my site for the first time in Internet Explorer (I normally use Firefox). In IE, the 3x3 table renders with the two images in Row 3, Col 1 and Row 3, Col 3, both sized …

Member Avatar for valonesal
0
79
Member Avatar for mvchandoo

[QUOTE=mvchandoo;981436]I had problem with mouse out in div. i tried for one long day in vain. can any one do it. it was an urgent issue.Thank you in advance. the code is... [/QUOTE] [COLOR="Red"]That's because you are creating a [B]situation[/B] of infinite "mouseover" event occurrence. [/COLOR]

Member Avatar for Troy III
0
152
Member Avatar for geryzone

[QUOTE=geryzone;980716]Hello! I'm having trouble with the CSS of this liquid (flixible ) layout. The problem occurs only in IE7. Whenever I decrease the size of the browser the #eventsListing (6 images) drops under #content (text/copy). [/QUOTE] That's exactly what the content should do when there isn't enough space to fit, …

Member Avatar for Troy III
0
184
Member Avatar for jeffherron

[QUOTE=jeffherron;980937]Check out this page in Firefox or Chrome: [url]http://minorityrecruitonline-com.si-vs1222.com/college/Default1.aspx[/url] Now check out the same page in IE8. I have tried everything to get them to appear the same in both browsers, but no can do. Any ideas from any HTML gurus out there?[/QUOTE] I've just visited your link with my …

Member Avatar for Troy III
0
157
Member Avatar for dheema

There's nothing from this code that should appear in neither of them. The code is fine - but are you sure you know what are you calling with that script and what does it do? Or at least why are you injecting alien script source in your page?

Member Avatar for Troy III
0
118
Member Avatar for mrk202

have you at least tried after newRow = row.cloneNode(true); to newRow.setAttribute("id", 'theDesiredID'); or better: newRow.id= "stringID"; ?

Member Avatar for Troy III
0
77
Member Avatar for OnIIcE
Member Avatar for EddieC

Most probably you don't want to have DirectX neither, nor maybe any OS installed at all, for that matter. But computers need software in order to operate! Without it, they're as good as furniture, even less. Bye the way, it is impossible to tell if there is a single sentence …

Member Avatar for Troy III
0
1K
Member Avatar for scorpx

[QUOTE=scorpx;965022]I wanna make all tr to link. use this code <a href="http://www.google.com/ " target="_blank"> <tr> <td>google</td> <td>bla bla</td> <td>bla bla</td> </tr></a>it works in IE but don't work in firefox and chrome ? is there any idea ? Thanks...[/QUOTE] Your code works fine on my firefox 3.5.2 /windows OS, - what …

Member Avatar for almostbob
0
130
Member Avatar for genesistr

[QUOTE=genesistr;965283]i write to create <embed> object using document.write but as i read document.write isnt supported by our middleware yet and im trying to find different ways to load and play sounds. can you tell me how to load and play sounds dynamicly?[/QUOTE] Put the <embed> element in your code - …

Member Avatar for Troy III
0
51
Member Avatar for cab_driver

[QUOTE=cab_driver;959582]I have a page set between frames that has a table with two columns: the left column has an image fixed in one position and in the right column is text (with images). When the window is at 100%, it works, but if the window is dropped to 3/4 size, …

Member Avatar for ingeva
0
105
Member Avatar for vairvixen

[QUOTE=vairvixen;962027][code] <SCRIPT [COLOR="Red"]language="javascript" [/COLOR]type="text/javascript"> function swapImage(image) { var Map = (document.getElementById) ? document.getElementById('MapWest') : (document.images) ? document.images['MapWest'] : (document.all) ? document.all['MapWest'] : null; if(Map) Map.src = image; } </SCRIPT> [/code] [/QUOTE] Try to correct that one into this: <SCRIPT type="text/javascript"> function swapImage(image) { var Map = document.getElementById('MapWest') ||document.images['MapWest']|| MapWest||null; if(Map) …

Member Avatar for vairvixen
0
184
Member Avatar for becraig

[QUOTE=becraig;957632]I am trying to change the display for some elements in an iframe eg: the iframe has the following link <a href="" onclick="window.parent.document.getElementById('element').style.display = 'none'"> however it does not seem to be working, I am trying to figure out is there a way to do this.[/QUOTE] Your question is kinda …

Member Avatar for Troy III
0
81
Member Avatar for Potato.Head

Sorry but there is no such event [maximize/ minimize/restore] event monitored by any existing browser until now. But there is the [B]onresize[/B] event that will fire on those occasions too. Therefore you can use [B]window.onresize[/B] as a generic maximize/ minimize/restore event monitor. But there's no way you can cancel it, …

Member Avatar for Troy III
0
92
Member Avatar for QuickBooksDev

Interesting ... It works on IE6 supporting javascript up to version 1.3 only! But it fails on FX v3.5.2 supporting javascript 1.5, and reporting to support javascript up to version 1.8. I am puzzled??? (Works in Opera also)...

Member Avatar for QuickBooksDev
0
185
Member Avatar for kilahcup

[QUOTE=kilahcup;959952]Is there a CSS methodology that makes a particular color transparent? And if there is, will it work on images? For example, let's say I want to make all the white in a cell or a div transparent, as well as the white bits of an image contained in said …

Member Avatar for Troy III
0
85
Member Avatar for daved83

[QUOTE=daved83;959032]Hi everyone, I hae created a dropdown menu using ajax where each option is populated dynamically based on the previous choice. It works great on Firefox thanks to help I got on this forum. It doesn't work on IE however. I believe this is because IE doesn't recognise the innerHTML …

Member Avatar for Troy III
0
104
Member Avatar for php_noob

For a start, -that's because there is no container element with ID "page-nav" in your html content. And that "#page-nav" css selector is targeting contained list-items on nonexistent element.

Member Avatar for Airshow
0
102
Member Avatar for xylude
Member Avatar for OnIIcE

lol you have to many assumptions. I'd like to know: Since when are you able to resize the backgound images? 'Cause this is all news to me! Last time I used png as a [B]background image[/B] I did it this way: [icode] #pngImage { background: #C01013 url('Image.png') center no-repeat; height: …

Member Avatar for Troy III
0
346
Member Avatar for nigelburrell

that's because you are doing it the wrong way, -it is the div2 who should have its margins set to auto and there should be no float. -Here, try this: [icode] .DIV1 { width: 100%; height: 70px; } .DIV2 { margin: auto ; display: inline; text-align: center; width: 80px; }[/icode]

Member Avatar for Troy III
0
490
Member Avatar for cab_driver

[CODE][B]<p><img src="picture.gif" [COLOR="Green"]style="float:right"[/COLOR]>[/B]then add my text, but it only seems to allow one line of text, then everything else drops beneath the image. I've looked at various sites and they all say that this is how it's done. Does anyone els have a suggestion?[B]</p>[/B][/CODE]

Member Avatar for Troy III
0
113
Member Avatar for Reliable

[QUOTE=Reliable;942345]Hey Everyone, I want to replace the following code with it's DIV equivalent. [ICODE]<body> <div id="container"> <div id="header"> <table width="901" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" style="padding-left:20px"><img src="images/thinktankname.png" alt="Think Tank for African American Progress" /></td> </tr> <tr style="padding-bottom:20px"> <td style=" padding-right:10px"><img src="images/thinktanklogo.png" alt="think thank logo" /></td> <td><img src="images/thinktank.jpg" width="657" height="194" …

Member Avatar for Troy III
0
134
Member Avatar for stvrich

stay away from that site and block them. few notes on interclick.com [url]http://google.com/safebrowsing/diagnostic?site=interclick.com/[/url] i suggest you block these addresses: [url]www.interclick.com[/url] a1.interclick.com campaigns.interclick.com ad.interclick.com there should be more ....

Member Avatar for Troy III
0
159
Member Avatar for AC-hrt

> First, let me say that I'm an amateur with HTML and web design so please try to keep your explanations as blunt and frank as possible. Thanks in advance! > > I'm wanting to have a repeating background image behind another fixed, non-repeating image. > > This is the …

Member Avatar for Troy III
0
123

The End.