Open Something In A New Page? - can anyhelp??

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

Open Something In A New Page? - can anyhelp??

truman69
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

Reply

no9t9
<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.

Reply

truman69
hey thanks but it dont seem to work

Reply

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

Reply

sammaye
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)

CODE
<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

Reply

ArchaicAngel
QUOTE(truman69 @ Mar 23 2005, 09:49 AM)
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
*



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,

 

 

 


Reply

no9t9
works for me.

and yes, there are quotes around the url. (I thought that was obviuos).

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : anyhelp


    Looking for open, page, anyhelp

Searching Video's for open, page, anyhelp
advertisement



Open Something In A New Page? - can anyhelp??



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE