PDA

View Full Version : Channel Mode Window Opener



davyd
04-03-2008, 06:51 AM
Hi
Could someone please assist me with this. I need to use the channel Model window opener code but not initiated from a button as the script on here shows but instead from a text link.
Is this possible?

I am pretty new to html so i would really appreciate some example code to do this.
Thanks in advance
http://www.dynamicdrive.com/dynamicindex8/window2.htm
Davyd

rangana
04-03-2008, 06:57 AM
Simply replace the button with the text you want ;)

Something like this would work for you :)


<script>
<!--

/*
Channel Mode Window Opener Script-
Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function channel(){
window.open("http://www.google.com","","channelmode,scrollbars")
}
//-->
</script>
<a href="#" onClick="channel();return false;">Link Me</a>


See if it helps ;)