No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Always learner. True believer of mind power.
- Interests
- Computing, reading, writing
- PC Specs
- Toshiba Satellite laptop. 2Mb RAM, 160 Mb HD.
17 Posted Topics
Re: Hey Rodrigo, Nice snippet, Gracias! Have you tested it cross browser? | |
Re: [QUOTE=weasel7711;1067475]This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by … | |
Re: At a first glance, I can see that on your calling code: [code]<div class="icons"> <a href="#" onmouseover="SwapOut(personal, 0)" onmouseout="SwapBack(personal, 1)"><img name="personal" alt="logo" src="images/personal_up.png" /></a>.... </div> [/code] you are referencing undefined variables. Have you tried to replace the call for: [code] onmouseover="SwapOut(personal, 0)" [/code] with onmouseover="SwapOut('personal', 0)" as I guess you … | |
![]() | Re: [QUOTE=leegeorg07;1010097]Hi, using a snippet I found on here I have this code: [code] var password; var pass1="PASSWORD-HERE"; password=prompt('Whats The Magic Word?',' '); if (password==pass1) alert('That Is Correct!'); else { window.location="SITE-LINK"; } [/code] But I want to make pass1 harder to see so I want to encrypt it and use that … |
Re: As far as I understand, what you need is 1) to create a functions that is called every time your page is loaded; tht's achieved with the onload="myfunction()" attribute within the <body> tag. and 2) the function needs to hold an array of pictures that can be presented randomly. Am … | |
Re: The easiest way is to create a new function on you JS code, simple as [code] function exall() { for (inde=1;inde<=5;inde=inde+2) { ToggleRowVisibility("paneltable",inde); } } [/code] | |
Re: What you need is not JavaScript. Use Java instead. | |
Re: Please specify a bit more. Do you already have a sort of validation function? | |
Re: You may try to replace your line [code] document.getElementById("full-details").innerHTML=xmlHttp.responseText [/code] with a line like: [code] eval("document.getElementById('"+full-details+"').innerHTML=xmlHttp.responseText"); [/code] | |
Re: If you have the image on a server (whichever), just place the url on the "a" tag... [code] <a href="spike.jpg" onclick="this.href = 'javascript:void(0);';"> <img src="http://www.myserver.com/images/spike_thumb.jpg" title="click to expand." style="float:right;" onclick="new ImageExpander(this, 'http://www.myserver2.com/images/spike.jpg');"> </a> [/code] | |
Re: On every menu, either CSS based or JavaScript based menu, the link is actually achieved by the (X)HTML tag "a". The "target" attribute of the "a" tag tells the browser to remains on same window or create a new one. | |
Re: Not everybody have DW CS3. If you post the code you are talking about, somebody can figure out your problem, but from the small snippet explanation.... | |
Re: Try to change the random generation to an expression like: [code] topicnum = Math.round(Math.random()*(topiccount-1))+0; [/code] | |
Re: You create a new array [code]var images = new Array();[/code] and then you want to reference [code] imgname[0] = 'home.jpg'; ... [/code] ..hmmm! names do not match. Also, creating a new array, does not create a new array if images... you may want to create the elements of the array … | |
Re: OK! I've just sent an email from my gmail account with IE7 screenshot. The discrimination works! | |
Re: Instead of looking for scroll positions relative to the document, I would read mouse's position to find out where to place the <div>. The event element do the trick, so: event.clientX is the x position where the event occurred and event.clientY is the Y position. Then, the code [ICODE]mydiv.style.left = … | |
Re: There are at least three missing functions: 1. yCoord () 2. placeIt() 3. shiftIt() without them, the code cannot works. |
The End.