Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Child window problems |
Page: 1 | Reply |
Jan 28th 2003 | #87780 Report |
Member since: May 27th 2002 Posts: 1028 |
Okay, I have this link on a page and I want it to open a 640x480 child window. I have the window set so it cant be resized and all that, but I'm having problems with the link. I am currently using this bit of incorrect code. [CODE]<a onClick="MM_openBrWindow('../lyrics/lyrics.htm','lyrics','width=640,height=480')">[/CODE] The link works fine but it doesnt show the little hand when the link is hovered over - It keeps that "I" bar over the link. I know I'm supposed to have it link to a javascript and have it return false, but I'm not sure how. I know on Sidez' Phex site he uses it for his portfolio. I am going to use this type of window for text and pictures, just FYI in case something would be different between the two. |
Reply with Quote Reply |
Jan 28th 2003 | #87798 Report |
Member since: Mar 24th 2002 Posts: 3114 |
put this in the anchor-tag: [PHP] style="cursor:hand;" [/PHP] |
Reply with Quote Reply |
Jan 28th 2003 | #87801 Report |
Member since: May 27th 2002 Posts: 1028 |
heh, that'll work.
|
Reply with Quote Reply |
Jan 28th 2003 | #87900 Report |
Member since: Jan 6th 2003 Posts: 8 |
Or, you can do it like this: <a href='javascript:MM_openBrWindow("../lyrics/lyrics.htm","lyrics","width=640,height=480")'> |
Reply with Quote Reply |
Jan 28th 2003 | #87925 Report |
Member since: Apr 20th 2002 Posts: 3000 |
or even: <a href="#" onClick="MM_openBrWindow('../lyrics/lyrics.htm','lyrics','width=640,height=480')"> but it'll reload the page. :p |
Reply with Quote Reply |
Jan 28th 2003 | #87945 Report |
Member since: May 27th 2002 Posts: 1028 |
Thanks guys. I knew I was getting something wrong.
|
Reply with Quote Reply |
Jan 28th 2003 | #87953 Report |
Member since: Mar 24th 2002 Posts: 3114 |
..it will? :confused: |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |