Log In · Register

 
 
Closed TopicStart new topic
Umm....help with Javascript....
xAzNxDragonRebor...
post Sep 23 2004, 11:22 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Feb 2004
Member No: 3,411



Hi, i got the Add a Custom Module Javascript code and i m trying to put Gif image linkz in it instead of text but it doesnt work...WTF is wrong well thx....

CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display: none;}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #FFFFFF; width:160px; background-image: url(http://img.photobucket.com/albums/v42/xaznxdragonreborn/RedBlaze.jpg);
 background-position: left center;
 background-repeat:no-repeat; }
table.module th { background-image: url(http://img.photobucket.com/albums/v42/xaznxdragonreborn/RedBlaze.jpg);
 background-position: left center;
 background-repeat:no-repeat;;font: bold 11px new roman times; text-transform: uppercase;color: #FFFFFF; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>

<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">

<A HREF="http://www.xanga.com/home.aspx?user=xAzNxDragonReborn"> <TARGET="xAzNxDragonReborn's Xanga Link!"><IMG SRC="http://img.photobucket.com/albums/v42/xaznxdragonreborn/My-Link.gif"> <BORDER="0"></A>


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



</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->
 
shortvi3tlaydee
post Sep 23 2004, 11:30 PM
Post #2


moohaha
******

Group: Member
Posts: 2,214
Joined: Aug 2004
Member No: 41,985



not all custom modules let u have scripts most only have text
 
razbus
post Sep 24 2004, 08:20 AM
Post #3


I just "got it like that".
****

Group: Member
Posts: 247
Joined: Aug 2004
Member No: 41,238



Okay, first of all... you dont need those "target" tags. They're not necessary. Just use alt tags. Same thing goes with that weird "border" tag you used. All that can go into the img tag..... like so:

CODE
<!-- begin code provided by createblog.com -->
<style type=text/css>
/* remove regular modules */
texttable.left, td.mainleft, table.left, table.navigation, table.search{display: none;}
table.blogbody tr td {width:0px; padding: 0px;}

/* edit to your liking */
table.module { border: 1px solid #FFFFFF; width:160px; background-image: url(http://img.photobucket.com/albums/v42/xaznxdragonreborn/RedBlaze.jpg);
background-position: left center;
background-repeat:no-repeat; }
table.module th { background-image: url(http://img.photobucket.com/albums/v42/xaznxdragonreborn/RedBlaze.jpg);
background-position: left center;
background-repeat:no-repeat;;font: bold 11px new roman times; text-transform: uppercase;color: #FFFFFF; border: none; }
table.module td {color: #000000; text-align: left; border: none; background-image: none; }
</style>

<!-- Here's your CUSTOM MODULE.. copy and paste as needed -->
<table border="1" cellspacing="0" cellpadding="4" width="100%" class="module"><tr><th valign="top" align="left" class="module"><b>CUSTOM MODULE</b></th></tr><tr><td valign="top" class="module">

<A HREF="http://www.xanga.com/home.aspx?user=xAzNxDragonReborn"> <IMG SRC="http://img.photobucket.com/albums/v42/xaznxdragonreborn/My-Link.gif" alt=""xaznxdragon's xanga link!" border="0"></A>


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



</td><td width="500" valign="top" align="left">
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->


That should work...
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: