[I] have an image that I want to link a pop up/over window to. I put the proper script in the header, but what script do I put in the body and how do I link it to the image?
Thanks,
A real novice
[I] have an image that I want to link a pop up/over window to. I put the proper script in the header, but what script do I put in the body and how do I link it to the image?
Thanks,
A real novice
Is this a script off of DD's script library, or are you requesting a script. If it is from DD, then please post a link to the script in question.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Then you would put the code that gets generated in the second textarea (on that page you linked to) into the body of your document. So it would be something like this:
except with your custom settings.Code:<a href="http://www.google.com" onclick="NewWindow(this.href,'mywin','213','324','no','center');return false" onfocus="this.blur()">YourLinkText</a>
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
If I put the code you sent, how does it know what image to link to?
Change the part in red below to the path to your image.
Hope this helps.Code:<a href="path/to/your/image.jpg" onclick="NewWindow(this.href,'mywin','213','324','no','center');return false" onfocus="this.blur()">Text or Image</a>
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
<td><img border="0" src="LIPS_01_copy.gif" width="200" height="70" <a></td>
above is the image I want to link a pop-up window to.
As you can tell I confuse easely
Code:<td> <a href="LIPS_01_copy.gif" onclick="NewWindow(this.href,'mywin','213','324','no','center');return false" onfocus="this.blur()">Text or Image</a><img border="0" src="LIPS_01_copy.gif" width="200" height="70"><a></td>
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
OK, I put the following code in the proper location on the page and the image showed uo in the top left of the page, not where it should be and it doesnt link to a new window or anything.
popup is the name of the new popup page
<href="LIPS_01_copy.gif" onclick="NewWindow(this.href,'popup','213','324','no','center');return false" onfocus="this.blur()"<Text or Image<a/><img border="0" src="LIPS_01_copy.gif" width="200" height="70" <a>
Do you have a link to the page you are trying to put this one (or even posting the source code would be helpful). Other than that, not sure what else to tell you.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Bookmarks