i am looking for a java script that will open a new window size w:550 h:350 with a picture that has the picture that they clicked on..
i am looking for a java script that will open a new window size w:550 h:350 with a picture that has the picture that they clicked on..
Code:<img src="whatever.png" onclick="window.open(this.href, 'imgwnd', 'height=350,width=550');return false;">
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
I think you mean the "src", correct?
Code:<img src="whatever.png" onclick="window.open(this.href, 'imgwnd', 'height=350,width=550');return false;">
Code:<img src="whatever.png" onclick="window.open(this.src, 'imgwnd', 'height=350,width=550');return false;">
- Mike
Yes -- sorry, it's late![]()
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Yes, I see what you mean![]()
- Mike
Bookmarks