Jump to content
xisto Community
Sign in to follow this  
truman69

Open Something In A New Page? can anyhelp??

Recommended Posts

i have a mp3player for my site but i want it to be in a differnt Window so when you click the link for the mp3player it should open in a new window but i want to be able to make the window the same size as the mp3player and not the full screen can any 1 help hereso want i code that will open a link in a new window but i want to be able to make the window the size i wantthank you if you can helpchris

Share this post


Link to post
Share on other sites

<a href="javascript:window.open(url,'name','height=500,width=400,left=100, top=100,resizable=no,scrollbars=no,toolbar=no,status=no');">click</a>This is probably what you are looking for. It is javascript. But, personally, I hate it when people do popups on a site. There should be other options to do this so there isn't a popup. Like using javascript to position the mp3player in the corner of the window.

Share this post


Link to post
Share on other sites

You can Do this by JS CodeFor This Look Macromedia Dreamweaver MX 2004in this software you can do this very easy this software has many options for open new windows in many size

Share this post


Link to post
Share on other sites

this may sound like an obvious question; but have you checked any pop up killing software or have you got windows xp sp2...cos both will stop the pop up from working

and I think there is an error here (I aint done this code for ages)

<a href="javascript:window.open(url,'name','height=500,width=400,left=100,top=100,resizable=no,scrollbars=no,toolbar=no,status=no');">click</a>

but where URL is without the '' I believe that is wrong.....it should be like name with '' around it shouldnt it...I swear I remember doign it like that

Share this post


Link to post
Share on other sites

i have a mp3player for my site but i want it to be in a differnt Window so when you click the link for the mp3player it should open in a new window but i want to be able to make the window the same size as the mp3player and not the full screen can any 1 help here

 

so want i code that will open a link in a new window but i want to be able to make the window the size i want

 

thank you if you can help

chris

63385[/snapback]


Hey there, I've actually had to deal with this problem before and I know how difficult it is to find specific codes for a specific purpose. I think I might know of a script that will work the way you want it to at CodeBrain this will enable you to use a normal link (text, button, image, ect.) to open a new window that will resize itself to the content of the page. Hopefully this is the type of script you are looking for.

 

Later,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.