/    Sign up×
Community /Pin to ProfileBookmark

something with popup

Hai
i am very new to javascript

i have problem with javascript that is,

i have to disply some content on my popup,
my code is
//////////////////////////////////////////////////////////////////////////////////
<script language=”javascript” src=”popup.js”></script>
<script language=”javascript”>
window.onload=function(){
// POPUP EXAMPLE 2
new popUp(50 , 100 , 300 , 300 , “Div1” , “<a href=http://javascript.internet.com/ class=popup>http://www.yahoo.com/<a>” , “white” , “black” , “10pt sans-serif” , “Title” , “#0F72BB” , “white” , “lightgrey”, “#6DBAF3” , “black” , true , true , true , true , false , false , ‘min.gif’ , ‘max.gif’ , ‘close.gif’ , ‘resize.gif’);

}</script>

///////////////////////////////////////////////////////////////////////////////
but it is showing a link of [url]www.yahoo.com[/url].
but i want that site automaticaly disply at that popup
one thing that popup is atached with my browser(i.e if we minimize popup will automaticaly minimize as well if we maximize popup will automaticaly maximize)

can you please give me the code of this
plzzzzzzzzzzzzzzzzzz

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@Heavy_MetalJul 23.2005 — just in-case anyone wants to have that in code tags here it is
[CODE]<script language="javascript" src="popup.js"></script>
<script language="javascript">
window.onload=function(){
// POPUP EXAMPLE 2
new popUp(50 , 100 , 300 , 300 , "Div1" , "<a href=http://javascript.internet.com/ class=popup>http://www.yahoo.com/<a>" , "white" , "black" , "10pt sans-serif" , "Title" , "#0F72BB" , "white" , "lightgrey", "#6DBAF3" , "black" , true , true , true , true , false , false , 'min.gif' , 'max.gif' , 'close.gif' , 'resize.gif');

}</script>[/CODE]
×

Success!

Help @rajaraja spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...