The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Javascript codes

2 posters

Go down

Javascript codes Empty Javascript codes

Post by Thepokerpriast May 14th 2008, 5:27 pm

Javascript codes like <a href="javascript:popup=window.open.....not working.Any idea?
avatar
Thepokerpriast
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Guest May 14th 2008, 7:46 pm

That code isn't complete
avatar
Guest
Guest


Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Thepokerpriast May 14th 2008, 10:44 pm

Codes like this one :

<a href="#"
onclick="window.open('http://roundersradio.com/betaplayer/betaplayer2.htm',
'pagetitle', 'height=650, width=600');">Listen Now - Cu
stom</a>
avatar
Thepokerpriast
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Guest May 14th 2008, 11:14 pm

Be sure to click the A/A button in the top right of the text field
avatar
Guest
Guest


Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Thepokerpriast May 15th 2008, 1:27 am

I want to know if a need a CSS code...
avatar
Thepokerpriast
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Broly Ss10 May 15th 2008, 11:31 am

I'm quite sure that you don't.
Broly Ss10
Broly Ss10
Forumember

Male Posts : 349
Reputation : 13
Language : English/Spanish
Location : Melbourne

Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Thepokerpriast May 16th 2008, 3:13 am

<html>
<head>
<title></title>

<script language="javascript">
<!--
function openit() {
newWindow = window.open('http://roundersradio.com/betaplayer/betaplayer2.htm', 'myWindow', 'status,resizable,width=590,height=650');
}
// -->
&lt;/script>

</head>
<body onload="openit();">

<a href="javascript:openit();">Open the Window</a>

<form>
<input type="button" onClick="openit();" value="Open the Window">
</form>

</body>
</html>

I use this code....but something is wrong...I want to know if this code is supported...
avatar
Thepokerpriast
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Javascript codes Empty Re: Javascript codes

Post by Guest May 16th 2008, 2:37 pm

you have to have templated enabled.

the part between
Code:
<head>code</head>
has to be placed in the head of your page.

the part between
Code:
<body>code</body>
has to be put in the body tag
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum