HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
need some with some coding please
Post new topic   Reply to topic    HTML Help Forum Index -> Javascript
View previous topic :: View next topic  
Author Message
micacchi



Joined: 05 Jul 2009
Posts: 46

PostPosted: Sun Jul 05, 2009 9:49 pm     need some with some coding please Reply with quote

hey all Smile

i just need some help.. im kinda new to code, and web design so bare with me..

i got a site up and running @ www.smkn.tk
and when you go to roster, and click scone easy
the profile page opens up in a new window (which is excellet) its just too large, i want to control the size of the window so its just the size of the picture and to be in the center of the screen

this is my code:

body {
background-color: #DCDCDC;
}
-->
</style></head>

<body>
<div align="center">
<table width="650" border="0">
<tr>
<td width="516" height="148" nowrap="nowrap"><img src="../team.jpg" width="775" height="596" border="0" usemap="#Map" /></td>
</tr>
</table>
</div>

<map name="Map" id="Map">
<area shape="rect" coords="0,252,76,310" href="f9.html" alt="" />
<area shape="rect" coords="713,258,762,298" href="cs.html" alt="" />
<area shape="rect" coords="713,518,762,558" href="cod.html" alt="" />
<area shape="rect" coords="141,268,247,305" href="team.html" />
<area shape="rect" coords="142,313,244,352" href="record.html" />
<area shape="rect" coords="126,355,269,387" href="history.html" />
<area shape="rect" coords="125,394,270,434" href="contact.html" />
<area shape="rect" coords="135,445,261,481" href="downloads.html" />
<area shape="rect" coords="383,309,493,330" href="sconye.html" target="popup" onClick="wopen('sconye.html', 'popup', 400, 200); return false;">
<area shape="rect" coords="381,332,447,348" href="stuart.html" />
<area shape="rect" coords="381,351,442,374" href="jonp.html" />
<area shape="rect" coords="378,456,424,473" href="mike.html" />
<area shape="rect" coords="377,477,419,491" href="sam.html" />
<area shape="rect" coords="419,490,422,499" href="#" />
<area shape="rect" coords="421,511,426,517" href="#" />
<area shape="rect" coords="374,498,421,511" href="#" />
<area shape="rect" coords="373,498,427,513" href="nick.html" />
<area shape="rect" coords="378,516,488,536" href="sconye.html" />
<area shape="rect" coords="376,537,439,555" href="travis.html" />
</map>
</body>
</html>

can someone please update this code for me exactly
im using dreamweaver, and its a hotspot hyperlink
thanks!

ps i know its a picture, just bare with me lol
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS

PostPosted: Mon Jul 06, 2009 2:37 pm     Reply with quote

This is not a true "popup" window:
Code:
 <area shape="rect" coords="383,309,493,330" href="sconye.html" target="popup" onClick="wopen('sconye.html', 'popup', 400, 200); return false;">

See if one of these online popup maker will give you the code you want sized to image only -

http://www.wilsoninfo.com/pop_gen.html
http://www.freewebmasterhelp.com/tools/popup/
http://www.hypergurl.com/newwindow.html
http://www.hypergurl.com/newwindow.html
http://www.dynamicdrive.com/dynamicindex8/popwin.htm
http://javascript.internet.com/generators/popup-window.html

Recommend you use a DocType on every page as you are putting browsers in Quirks Mode. Means you've lost control on how you want your pages to look.

Check your HTML code errors.

Home Page Errors
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> Javascript All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial