WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Help me to add 2 things to this code Empty Help me to add 2 things to this code Tue Feb 15, 2011 10:00 pm

Matti

Matti
Registered Member
Registered Member
Hey guys! I want to add this things to this code ''font-family: Georgia, serif; font-style: italic; font-weight: normal;''


Code:

<script>
jQuery(document).ready(function() {
jQuery('em').replaceWith('<b><font color="#49007d">Legend:</font> <a href="http://forumdesigners.forumotion.com/g2-administration"<font color="#333333">Administrator</font>, <a href="http://forumdesigners.forumotion.com/g2-administration"<font color="#0000CC">Moderator</font>, <a href="http://forumdesigners.forumotion.com/g2-administration"<font color="#990033">Designers</font>, <a href="http://forumdesigners.forumotion.com/g2-administration"<font color="#cc6600">Technicians</font>, <a href="http://forumdesigners.forumotion.com/g2-administration"<font color="#8d38c9">Contributors</font>,');
});
</script>

http://csshelp.forumotion.net/

2Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Tue Feb 15, 2011 10:25 pm

Unknown Data

Unknown Data
Registered Member
Registered Member
In all the font tags?

http://woops.dk

3Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Tue Feb 15, 2011 10:35 pm

Guest


Guest
One thing to make this code shorter replace the links with only "/g1", g2,g3 etc (:

4Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Tue Feb 15, 2011 10:43 pm

Matti

Matti
Registered Member
Registered Member
UD, yes

Gangstar15, I have no idea about this code so how you mean it by that.

http://csshelp.forumotion.net/

5Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Wed Feb 16, 2011 12:06 am

Guest


Guest
Here:
Code:

<script type="text/JavaScript">
jQuery(document).ready(function() {
jQuery('em').replaceWith('<div style="font-family: Georgia, serif; font-style: italic; font-weight: normal;"><b><font color="#49007d">Legend:</font> <a href="/g1-"><font color="#333333">Administrator</font></a>, <a href="/g2-"><font color="#0000CC">Moderator</font></a>, <a href="/g3-"><font color="#990033">Designers</font></a>, <a href="/g4-"><font color="#cc6600">Technicians</font></a>, <a href="/g5-"><font color="#8d38c9">Contributors</font></a></div>');
});
</script>

6Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Wed Feb 16, 2011 12:57 am

Matti

Matti
Registered Member
Registered Member
But when I click on the names and the send me all to Administration group so do you know what is wrong...

http://csshelp.forumotion.net/

7Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Wed Feb 16, 2011 1:13 am

Guest


Guest
look here:
http://test1-liqued-coding.forumotion.com/

you need to add the correct url to all groups, g1 means group 1,you can view the groups ID's by visiting them from the Groups link (:

8Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Wed Feb 16, 2011 3:17 am

Matti

Matti
Registered Member
Registered Member
Lol. I didn't know it we could do it like that thx Gangstar15 Very Happy

Edit:
I was wondering if we can make the text underline for hover only like when you put the mouse on the text and shows with underline.

http://csshelp.forumotion.net/

9Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Wed Feb 16, 2011 10:35 pm

Guest


Guest
Use this:
Code:

Put this CSS in your CSS (:
#g-legend {font-family: Georgia, serif; font-style: italic; font-weight: normal;}
#g-legend a:hover{text-decoration:underline}

<script type="text/JavaScript">
jQuery(document).ready(function() {
jQuery('em').replaceWith('<div id="g-legend"><b><font color="#49007d">Legend:</font> <a href="/g1-"><font color="#333333">Administrator</font></a>, <a href="/g2-"><font color="#0000CC">Moderator</font></a>, <a href="/g3-"><font color="#990033">Designers</font></a>, <a href="/g4-"><font color="#cc6600">Technicians</font></a>, <a href="/g5-"><font color="#8d38c9">Contributors</font></a></div>');
});
</script>

10Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Wed Feb 16, 2011 11:07 pm

Matti

Matti
Registered Member
Registered Member
Thank you, this is perfect Smile

http://csshelp.forumotion.net/

11Help me to add 2 things to this code Empty Re: Help me to add 2 things to this code Fri Feb 18, 2011 8:49 pm

Jophy

Jophy
Registered Member
Registered Member
Solved => Locked

http://www.socialtechforum.com/

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum