| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | 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> -fire
__________________ Pixel Advertising |
| |
| | #2 (permalink) |
| NamePros Regular | 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 |
| |
| | #4 (permalink) |
| NamePros Regular | Thanks Dan, that worked perfectly! rep added
__________________ Pixel Advertising |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |