Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
61% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #914
~58.5K People Reached
Favorite Forums

52 Posted Topics

Member Avatar for webdi

You could use javascript to preload images. [CODE] <head> <script> preload_image = new Image(); preload_image.src="http://mydomain.com/image.gif"; </script> </head> [/CODE] This will put the image in cache as the page loads.

Member Avatar for dellmerca
0
2K
Member Avatar for Designer_101

[CODE] <script> function totalTable() { var arr = document.getElementsByTagName("TD"); var count1 = 0; var count2 = 0; for (a = 0; a < arr.length; a++){ var mytd = arr[a].innerHTML; if (isNumeric(mytd, false) == true) { if (arr[a].className == "column1"){ count1 = count1 + parseInt(mytd); } else { count2 = count2 …

Member Avatar for saqlainraza14
0
44K
Member Avatar for stangn99
Member Avatar for vinc88

Here are two functions for email and numbers. I don't know what you want to check for with text. If it's free form text there's really no check. Did you just want characters and no numbers? [CODE] <script> function validate() { if (!isEmail(document.getElementById("emailAddr").value)) { alert("Bad email address"); return; } if …

Member Avatar for dean8710
0
128
Member Avatar for prashanth18

I'm not sure I understand. Do you want it to toggle? Do you have some sample code?

Member Avatar for Taywin
0
126
Member Avatar for shan2
Member Avatar for CathInfo

Not sure if this what you need. I've used this to capture keydown. It's not real thorough on identifying browsers, but it seems to work. Microsoft and Mozilla do it differently, as usual. [CODE] if (navigator.appName == 'Netscape') { window.captureEvents(Event.KEYPRESS); document.onkeypress = netscapeKeyPress; } function netscapeKeyPress(e) { keyCode=e.which; handleEvent(keyCode); } …

Member Avatar for CathInfo
0
137
Member Avatar for Reliable

Every browser has bugs. In theory, if your running in IE8 and your in quirks mode you will inherit IE6 and IE7 problems. The best thing you can do is put in a valid strict doctype then validate your code. Once you've cleaned up any errors it should work fine. …

Member Avatar for johnny_rotten
0
92
Member Avatar for sam023

Yes NextCom is correct. In order to use string functions such as split and replace you have implicitly declare the var as a string. You can also do it this way. var output = counter1.toString();

Member Avatar for vhexp
0
147
Member Avatar for loligator

Rather than using <body onload="startUp();"> try this in a global area of your javascript. window.onload = startUp;

Member Avatar for loligator
0
2K
Member Avatar for henpecked1

Data would be stored in a database on the server. A flat file could be used but that is pretty old school.

Member Avatar for almostbob
0
163
Member Avatar for Bubbleboy

You would have to be a darn fool to discard IE6. I personally know of 350,000 employees still using it. The IT department is so afraid of Microsoft upgrades that we are stuck with it. I illegally use Firefox.

Member Avatar for alexhernandez
0
150
Member Avatar for dominique7

You said you have a div container around the image and the text. And you put a margin around the entire div. Are you mixing position absolute or relative with floats? Are you sure the div container is truly containing both the image and the text? Try putting a border …

Member Avatar for dominique7
0
200
Member Avatar for team_ferrari22

Your question would be better answered by an IBM forum. They developed DITA. It is basic XML. It is a standard not a language.

Member Avatar for harrierdh
0
59
Member Avatar for cmouli

What you posted was asp code not html. My suggestion is that you bring up the web page and do a View Source in your browser. The javascript is probably right. Your fields are probably empty when they hit the browser. Which would mean you have an asp error not …

Member Avatar for cmouli
0
218
Member Avatar for c_rob

It works for me. You didn't show your head section. I'm guesing that is where your problem is. Also make sure your image links are working right. The text was white and I had no images. So it did come up blank the first time. style.css [CODE] ul.topnav { list-style: …

Member Avatar for harrierdh
0
178
Member Avatar for skorm909

This is your best bet. [URL="http://www.w3schools.com/"]http://www.w3schools.com/[/URL]

Member Avatar for ITchimes
0
168
Member Avatar for Abdel_eid

content is used with the before and after. See here. [URL="http://www.w3schools.com/Css/pr_gen_content.asp"]http://www.w3schools.com/Css/pr_gen_content.asp[/URL]

Member Avatar for Abdel_eid
0
88
Member Avatar for Atomika3000
Member Avatar for Atomika3000
-1
107
Member Avatar for Atomika3000

Your code looks okay. I think you need to specify the fontSize="24" as a point or pixel or something. Like fontSize="24pt"; I didn't try this, but your code looks fine.

Member Avatar for Atomika3000
0
905
Member Avatar for stjohn999

Your code is full of syntax errors. I think this is what you want. But, you really need to learn this stuff on your own. [CODE] <script> difference(); function difference() { var numberArray = [16,14,4,5]; var diffArray = new Array(4); var count = 0; var numLen = numberArray.length; for (count …

Member Avatar for rajendra.parmar
0
113
Member Avatar for raydeen

[URL="http://javascript.internet.com/generators/dhtml-tooltip-generator.html"]http://javascript.internet.com/generators/dhtml-tooltip-generator.html[/URL]

Member Avatar for karol33
0
98
Member Avatar for skorm909

Javascript, HTML and CSS working together will do animations. You can also use animated gifs and Flash. Javascript is the simplest in my opinion. If you search for Javascript games you'll find lots of cool stuff. Here is a couple homebrew ones. [URL="http://home.comcast.net/~harrierdh/David/shooter.html"]http://home.comcast.net/~harrierdh/David/shooter.html[/URL] [URL="http://home.comcast.net/~harrierdh/David/html/spcinv.html"]http://home.comcast.net/~harrierdh/David/html/spcinv.html[/URL]

Member Avatar for grungy coder
0
119
Member Avatar for pcc_support

I tweaked your styles in the code below. Is this what you were trying to do? Seems ok in FF3 and IE6. [CODE] <div id="TopNav" style="height: 100px"> <span class="style8"> <form> <table align="relative" style="float: right; margin-top:30px"> <tbody><tr> <td> <input type="text" class="txt" name="Username"/> </td> <td><input type="password" class="txt" name="Password"/></td> <td><input type="image" value="Submit" src="http://www.gosfordit.com/index_files/login_13.png" …

Member Avatar for harrierdh
0
84
Member Avatar for eeyc

When you say address line do you mean the query string where you would type in [url]www.google.com?[/url] You can not run javascript from there.

Member Avatar for eeyc
0
128
Member Avatar for zyzopath

I'd try toying with margin and padding on the img id "dragon". That's where IE differs the most from other browsers. If you don't already, get a debugger for IE like Firebug is for Firefox.

Member Avatar for ko ko
0
2K
Member Avatar for marky-b
Member Avatar for VIGUU

In popup: window.opener.document.getElementById("myParentWindowVariable").innerHTML = "somevalue"; In parent: <p id="myParentWindowVariable"></p>

Member Avatar for harrierdh
0
87
Member Avatar for ausmaya

Try it this way instead. [CODE] <!DOcTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>first java script example</title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <script type="text/javascript"> function calculateArea() { var Width = document.getElementById("txtWidth").value; var Height = document.getElementById("txtHeight").value; area=Width*Height return (area); } </script> </head> <body> <form name="frmArea action="#"> enter …

Member Avatar for almostbob
0
124
Member Avatar for OmniX

Zero13, Agreed! That is not enough information. Too many things affect page layout not just two lines of css. The biggest issue people have with IE is the way it handles margins and padding. I would start there.

Member Avatar for OmniX
-1
159
Member Avatar for pawn10

Hey Pawn10, It's pretty hard to debug nothing. Send some code or a link to your page. Thanks.

Member Avatar for harrierdh
-1
57
Member Avatar for richholt
Member Avatar for desiguru

<script> function initialize() { setTimeout('redirectMe()', 5000); //delay 5 seconds } function redirectMe() { location.href = 'http://www.google.com'; } </script> <body onLoad="initialize";

Member Avatar for harrierdh
0
75
Member Avatar for ggeoff

Absolute positioning is just that. You can not put it in a container. It is always positioned relative to the top left corner of your browser window. You could try relative positioning. It would be better to work with floating though. In the long run it will save your hair.

Member Avatar for ggeoff
0
157
Member Avatar for phuong_bg

Try this one. I've used it for years. [URL="http://www.walterzorn.com/dragdrop/dragdrop_e.htm"]http://www.walterzorn.com/dragdrop/dragdrop_e.htm[/URL]

Member Avatar for harrierdh
0
80
Member Avatar for thejester1975

I like your first approach best. Without images or a link to your page, it's kinda hard to reproduce the page.

Member Avatar for thejester1975
0
114
Member Avatar for matthewl

If it was me I'd just download a template like one of these. I would suggest though, if you haven't already, get Firefox and Firebug. That way you can tweak the CSS on the fly and debug it yourself. [URL="http://www.bluerobot.com/web/layouts/layout1.html"]http://www.bluerobot.com/web/layouts/layout1.html[/URL] [URL="http://css-discuss.incutio.com/?page=ThreeColumnLayouts"]http://css-discuss.incutio.com/?page=ThreeColumnLayouts[/URL]

Member Avatar for xylude
0
179
Member Avatar for feoperro

The code looks ok. That's probably what your saying. Do a view source of the page after the servlet sends it out. There may be another element affecting it. Like a missing closing tag. When you do a view source, make sure all your quotation marks are correct. Hope that …

Member Avatar for feoperro
0
205
Member Avatar for changeco

You didn't post working code. Where is the content piece of html. I don't see where you are doing any onMouseOut or have not posted any code that would even begin to act like you say. I tried the code. Removed all the javascript references to con. Then I realized …

Member Avatar for changeco
0
201
Member Avatar for alexberr

To create an upload box use the code below. You will need to have a program on your server to save the file. Hence "/cgi/bin/some-script.cgi". There is no auto magical way to upload from the client. You have to process this using server code like php, java, etc... [CODE] <form …

Member Avatar for ablitz
0
80
Member Avatar for barryw33

You can't control the hover with CSS. You'll need some scripting. You could create a hidden div to hold your sub menu and position it off the page. Then when the user hovers you could slide it into position. When the user hovers over another drop down menu you'd slide …

Member Avatar for harrierdh
0
158
Member Avatar for Maverick27
Member Avatar for toddj

As techsheaven said you need to send the source code as a view source from your browser or send a link. The code you sent earlier is some wierd tumblr stuff. But that is not what the browser sees. Those {} variables are preprocessed on the serve before being sent …

Member Avatar for techsheaven
0
567
Member Avatar for Magic8Computing
Member Avatar for harrierdh
0
128
Member Avatar for omotoyosi

You didn't provide enough information. What are you clicking exactly? Is it a combo box, checkbox, button?

Member Avatar for omotoyosi
0
86
Member Avatar for elanorejoseph
Re: help

I would start here. [URL="http://www.w3schools.com/ajax/default.asp"]http://www.w3schools.com/ajax/default.asp[/URL]

Member Avatar for harrierdh
0
62
Member Avatar for girl.java

I'm guessing you mean you only want odd numbers? If that's the case use the modulas function built into javascript. Modulas is the remainder after a division. If you divide numbers by 2 you'll get this. [CODE] <script language="JavaScript"> answer = 7 % 2; // odd numbers will always a …

Member Avatar for harrierdh
-1
115
Member Avatar for jreddick82
Member Avatar for Agent Cosmic

That's really not enough information. What is this representing? Do you have some code to look at and maybe a better description of why you would want to create an array from the this object?

Member Avatar for Agent Cosmic
0
100
Member Avatar for maheshmohandas

The End.