js window link
im editing a .js file to a widget im adding some stuff to. my question is how do you make a link (in the.js file) popup a certain size and not resizeable?
sample of the script:
if(fwuser.loggedIn){
this.HTML += '<span style="float:right; padding-right:5px; padding-top:-4px; padding-bottom:4px;"><b>' + fwuser.username + '</b> ('+this.userType+')</span>';
this.HTML += '<span style="float:left; padding-left:5px; padding-top:-4px; padding-bottom:4px;"><a href="http://www.freewebs.com/fwstyles" target="_blank"><img src="http://www.freewebs.com/fwstyles/community.png" border="0" /></a><a href="http://www.freewebs.com/fwstyles/chat.html" target="_blank"><img src="http://www.freewebs.com/fwstyles/chat.png" border="0" /></a><a href="http://www.sitesupport.co.nr" target="_blank"><img src="http://www.freewebs.com/fwstyles/ss.png" border="0" /></a></span><a ' + this.getPngStyle('logOut.png', 51, 16) + 'href="http://link.members.freewebs.com/logout.jsp?next=' + encodeURIComponent(location) + '"></a>';
if(this.adminMode)
this.HTML += '<a id="toggleAdminLink" ' + this.getPngStyle((Cookie.get(this.id + 'adminMode') == 'hide' ? 'show' : 'hide') + 'Admin.png', 82, 16) + 'href="" onclick="fw.Instances.get(\''+this.containerID+'\').toggleAdminMode(); return false;"></a>';
}
anyway i want to make the chat page as described above, any help?
teammatt3 posted this at 23:44 — 10th August 2007.
He has: 2,102 posts
Joined: Sep 2003
This may help you create the perfect popup http://javascript.internet.com/generators/popup-window.html.
sitesupport posted this at 02:13 — 11th August 2007.
He has: 190 posts
Joined: Jun 2007
thanks for the reply,
iv tried all the popup generators, none work. Is there a code like text ?
This is kinda confusing, would it help if i gave the link to the entire script?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.