You logged in as Guest
Login:
Recent messages · Members · Forums rules · FAQ · SEARCH Registration · Log in

Page 1 of1
Forum moderator: Armaros 
UcoZ Community » UcoZ System management and tuning » Design customization » Editing the Design with JavaScript
Editing the Design with JavaScript
MuffinDate: Friday, 2008-07-25, 10:22 Am | Message # 1
Newbie
Group: Users
Messages: 7
Reputation: 0 [0%]
Status: Offline
Hey, can someone help us.

On our site we want to edit the design a bit but our code doesn't work...

Please help us out cool

This is the code we put in the design customization thingie:

Code
<html>
<head>
<title>$SITE_NAME$ - $PAGE_NAME$</title>
<link type="text/css" rel="StyleSheet" href="http://src.ucoz.net/src/css/641.css" />
</head>

<body style="background:url('http://src.ucoz.net/t/641/1.gif') #222222; margin:0px; padding:0px;">
<map name="map1"><area href="$HOME_PAGE_LINK$" shape=rect coords="20,17,32,30" alt="Main"></map>
<map name="map2"><area href="$PERSONAL_PAGE_LINK$" shape=rect coords="16,25,26,41" alt="My profile"></map>
<map name="map3"><area href="$REGISTER_LINK$" shape=rect coords="14,27,27,41" alt="Registration"></map>
<map name="map4"><area href="$LOGOUT_LINK$" shape=rect coords="23,18,35,25" alt="Log out"></map>
<map name="map5"><area href="$LOGIN_LINK$" shape=rect coords="23,18,35,25" alt="Login"></map>

<!-- Header -->
<script type="text/javascript">
function Header()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="888" height="136">\n');

document.write('<param name="movie" value="http://img.webme.com/designs/flash/Blubber heder2.swf?color=0x000000&headerTitle='+encodeURI("Elite Fragger")+'" />\n');

document.write('<param name="allowScriptAccess" value="always">');
document.write('<param name="quality" value="high" />\n');

document.write('<embed src="http://img.webme.com/designs/flash/Blubber heder2.swf?color=0x000000&headerTitle='+encodeURI("Elite FraggerS")+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="888" height="136" allowScriptAccess="always">\n');

document.write('</embed>\n');

document.write('</object>\n');
}
<!-- /Header -->

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 0 10px;"><tr><td width="100%" align="center">

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="202">

<!-- -->
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Site menu</b></td></tr>
<tr><td style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 20px 0 15px;">$SITE_MENU$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<!--/-->

<!-- -->
<?if($CATEGORIES$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>News topics</b></td></tr>
<tr><td style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$CATEGORIES$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>
<!--/-->

<!-- -->

<?if($CHAT_BOX$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Tag Board</b></td></tr>
<tr><td style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$CHAT_BOX$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>

<?if($POLL$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Our poll</b></td></tr>
<tr><td style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$POLL$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>
<!--/-->

</td>

<td valign="top" style="padding:0 10px;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="19" height="16"><img src="http://src.ucoz.net/t/641/15.gif" border="0"></td><td style="background:url('http://src.ucoz.net/t/641/16.gif');"></td><td width="19" height="16"><img src="http://src.ucoz.net/t/641/17.gif" border="0"></td></tr>
<tr><td style="background:url('http://src.ucoz.net/t/641/18.gif');"></td><td style="background:#202020;padding:5px;">$CONTENT$</td><td style="background:url('http://src.ucoz.net/t/641/19.gif');"></td></tr>
<tr><td width="19" height="16"><img src="http://src.ucoz.net/t/641/20.gif" border="0"></td><td style="background:url('http://src.ucoz.net/t/641/21.gif');"></td><td width="19" height="16"><img src="http://src.ucoz.net/t/641/22.gif" border="0"></td></tr>
</table>
</td>

<td valign="top" width="202">

<!-- -->
<?if($LOGIN_FORM$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Login form</b></td></tr>
<tr><td align="center" style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$LOGIN_FORM$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>
<!--/-->

<!-- -->
<?if($NEWS_CALENDAR$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>News calendar</b></td></tr>
<tr><td align="center" style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$NEWS_CALENDAR$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>
<!--/-->

<!-- -->
<?if($SEARCH_FORM$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Search</b></td></tr>
<tr><td align="center" style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$SEARCH_FORM$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>
<!--/-->

<!-- -->
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Site friends</b></td></tr>
<tr><td style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$GLOBAL_FRIENDS$</td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<!--/-->

<!-- -->
<?if($COUNTER$ || $ONLINE_COUNTER$)?>
<table border="0" cellpadding="0" cellspacing="0" width="202">
<tr><td height="59" style="background:url('http://src.ucoz.net/t/641/12.gif');color:#FFFFFF;padding-top:35px;font-size:10px; " align="center" valign="top"><b>Statistics</b></td></tr>
<tr><td align="center" style="background:url('http://src.ucoz.net/t/641/13.gif') #131A2E;padding:0 15px 0 15px;">$COUNTER$<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?></td></tr>
<tr><td><img src="http://src.ucoz.net/t/641/14.gif" border="0"></td>
</table>
<?endif?>
<!--/-->

</td>
</tr>
</table>
<!-- /Body -->

<!-- Footer -->
<br />
<table border="0" cellpadding="4" cellspacing="0" width="898" height="50" style="background:url('http://src.ucoz.net/t/641/23.gif');">
<tr><td align="center" style="color:#FFFFFF;">Copyright MyCorp (c) $YEAR$<br />$POWERED_BY$</td></tr>
</table>
<!-- /Footer -->

</td></tr></table>

</body>

</html>

Ok, that was the code biggrin
Please help us out, we would really appreciate that wink

Message edited by Muffin - Friday, 2008-07-25, 10:23 Am
 
UcoZDate: Monday, 2008-07-28, 3:44 Am | Message # 2
UcoZ Admin
Group: Administrators
Messages: 410
Reputation: 32 [5%]
Status: Offline
Muffin, you didn't close JS Function and didn't close </script> tag

and why you decided that this script is acceptable for you?

if you want to display flash try to use Multimedia function in admin bar (top menu bar)

 
UcoZ Community » UcoZ System management and tuning » Design customization » Editing the Design with JavaScript
Page 1 of1
Search: