so do you think there is no way to do this with opening the popup window a specific size for each of the images in my scroller?
thanks
| SitePoint Sponsor |
so do you think there is no way to do this with opening the popup window a specific size for each of the images in my scroller?
thanks
Oh, there totally is. There just isn't really any way to do it directly in the HTML. You'll need to use straight-up JavaScript for it, which is the code you had yesterday, before I piped in and said anything. All you need to add to it is...
- listening for a link to be clicked
- open the appropriate window
- prevent the default action
(In order for this to work, you'll need to change each link's href back to the real URL.)
I'm the web overlord for Graphic Business Systems


Post #6 from this thread provides a good example of how to do that.
Programming Group Advisor
Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
Car is to Carpet as Java is to JavaScript
well I added what was in post 6 but now the scroller won't even load?
www.meadowlarkco.com/services.php


Programming Group Advisor
Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
Car is to Carpet as Java is to JavaScript
ok, I moved around my div and the initial image loads and then once you click on it opens the image in a new page, but the scroller doesn't work and isn't showing?


One of the links seems to be spelled incorrectly, could that be a factor?
http://www.meadowlarkco.com/servciesimage.htm
Programming Group Advisor
Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
Car is to Carpet as Java is to JavaScript
Bookmarks