| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Nov 2005 Location: NC
Posts: 205
![]() ![]() | Javascript Popup Help plz Hey, I have an image on one of my sites that I want to link to a popup(not a bigger version of the image, but another site). Searched around and kept getting nowhere on other's examples. I want the height to be 288 and the width to be 150. I know how to do this on text links, just not image links. Here's what I have so far. Code: <a href="javascript:popup()">POPUP</a> ????: NamePros.com http://www.namepros.com/programming/231224-javascript-popup-help-plz.html -fire |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: May 2006 Location: WebmasterGround.com
Posts: 863
![]() | What do you mean by popup? You want to open a new window when a link is clicked with a smaller size? This isn't called a popup btw. Popups are automatically launched when a website is loaded and do not need a click to load. You have to use window.open to have a new window of smaller size. Look here for examples http://www.pageresource.com/jscript/jwinopen.htm |
| |