216 Posted Topics

Member Avatar for imclumsy

Hi there, [icode]onChange[/icode] cannot be used in [icode]<a>[/icode]. Neither can [icode]checked[/icode]. Try using [icode]<a onClick="">[/icode] instead. Or make it a checkbox, of course. Traevel

Member Avatar for imclumsy
0
115
Member Avatar for avirag

Hi there, Replacing... [code=JavaScript]function init(){ var ep = 1289257200;; var ct=Math.round(new Date().getTime()/1000); var width = getWidth(); var height = getHeight(); if(ep>ct){ var opts = {}; opts.id = 'page'; opts.width = width; opts.height = height; opts.scriptable = 'true'; opts.allowScriptAccess = 'sameDomain'; opts.loop = 'false'; opts.quality = 'high'; opts.bgcolor = '#ffffff'; opts.scale …

Member Avatar for avirag
0
161
Member Avatar for mestalia118

Hi there, Try something like this... [code=HTML and CSS] <html> <head> <style type="text/css"> .main{ _position:relative; display:table; width:300px; height:300px; background-color:#FF0000; } .content{ _position:absolute; _top:50%; width:300px; height:300px; display:table-cell; vertical-align:middle; text-align:center; } </style> </head> <body> <div class="main"> <div class="content"> Some Text </div> </div> </body> </html> [/code] It should work in IE and FF. …

Member Avatar for Traevel
0
39
Member Avatar for Kruptein

Hi there, Could his screen perhaps be bigger? :D You're using [icode]background-repeat:no-repeat;[/icode] so perhaps his background ran out of image and showed the color black instead. :P If you'd like to repeat the image vertically use [icode]background-repeat:repeat-y;[/icode] If that's not it, could you mention the size of the background image …

Member Avatar for MidiMagic
0
110
Member Avatar for laursenj

Hi there, Perhaps something like this. [code=JavaScript] <script type="text/javascript"> window.onload = function(){ var now = new Date(); var hour = now.getHours(); var vwimg = ""; if(hour < 19 & hour >= 6){ //Daytime(6h - 19h) vwimg = "http://www.whatever.com/link1"; }else if(hour <= 24 & hour >= 19){ //Night (19h - 6h) …

Member Avatar for laursenj
0
101
Member Avatar for bavs_02

Hi there, Just at first glance, you're calling the function by using [icode]onKeyPress[/icode]. This means that as soon as you [b]press[/b] a key the function gets called; there simply isn't a number in the field (yet) at the moment the function is being called. Try changing [icode]onKeyPress[/icode] into [icode]onKeyUp[/icode] for …

Member Avatar for bavs_02
0
216
Member Avatar for Scottmandoo

Hi there, At first glance I notice the original function is [icode]function LoadGallery(pictureName,imageFile,titleCaption,captionText)[/icode] while yours is [icode]function LoadGallery(pictureName,imageFile)[/icode]. Yet on line 88 you call the LoadGallery function with 4 parameters [icode]<a href="#_self" onclick="LoadGallery('showreel','$image','showcaption','$caption')">[/icode]. The JavaScript errors you keep getting on your site do mention the lack of a 'titleCaption' variable …

Member Avatar for Scottmandoo
-1
96
Member Avatar for Mr. O

Hi there, If centering the text would solve the problem for you, perhaps you could center an element and use [icode]text-align:left;[/icode] on that element to prevent the text from centering as well. [code=css] #div{ width:50%; text-align:left; margin: 0 auto; } [/code] This way the element will center on the page …

Member Avatar for Traevel
-1
98
Member Avatar for virtualmisc

Hi there, If you only want to use CSS to get the background image to fit the entire screen, you could try something like this. [code=css] #img { width:100%; height:auto; max-width:999px; max-height:999px; } [/code] Changing the 999's into the width and height of the original picture accordingly. What I do …

Member Avatar for Troy III
-1
100
Member Avatar for hajjo

Hi there, I'm not really sure what you mean, but if it's the total number of rows (and thus number of textboxes) you're looking for, you could try something like [icode]getElementsByTagName()[/icode] to count the number of inputs. [URL="http://www.w3schools.com/HTMLDOM/met_doc_getelementsbytagname.asp"]Reference[/URL] Again, if it's not the answer you were looking for, please explain …

Member Avatar for Traevel
-1
77
Member Avatar for moerpheus

Would those tags happen to be in between the [icode]<ul>[/icode] tags? In that case they would still create a whitespace above your header. The suggestions almostbob made should help in removing all the margins for ul and li tags, and they certainly remove the whitespace in Firefox with the code …

Member Avatar for cleanserevoluti
-1
131
Member Avatar for mr_scooby

Hi there, This might not solve your problem right away, but it might prevent some issues in the future (especially if you're copying your code over and over). On lines 11 and 18 of your HTML code you are using cellpadding and cellspacing, but neither one is a valid CSS …

Member Avatar for mr_scooby
-1
188
Member Avatar for blackout83

Hi there, Basically, all you have to do is draw all the possible transitions between the different states. So, for example, begin at start, then to a state with one coin inserted, one with B-button pushed, the corresponding output, and from there back to start. [ICODE](start) -> (p) -> (B:dispense …

Member Avatar for Traevel
0
125
Member Avatar for pipotribe007

It seems that there are a lot of [ICODE]<BR />[/ICODE] tags in between your table headers (269 to be exact :-O ) starting from line 756. Deleting those tags should remove the large number of line breaks.

Member Avatar for essential
0
216
Member Avatar for Mushy-pea

Try switching languages by clicking on Tools > Preferences > General > Details. (or whichever foreign words seem to resemble the most :-/ ) If Japanese isn't listed, you can download the necessary language files [URL="http://www.opera.com/download/languagefiles/"]here[/URL]. Otherwise try Googling some words to figure out what language it actually is, that …

Member Avatar for Mushy-pea
0
119
Member Avatar for billymcguffin

Well, you could save the url you'd like to search into a string and use the JavaScript match() method: [icode]stringObject.match(searchvalue)[/icode] to search for a specific word inside the string. If you want to, you can also opt for a different method and use Regular Expressions to search for recurring patterns …

Member Avatar for Airshow
0
564

The End.