We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
[ C ] Announcement Glitch
Topic Started: Aug 4 2015, 03:44 AM (516 Views)
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
ZB
URL in profile
Code:
 
<div id='announceBox' class='indexonly'>
<table class="cat_head">
<tr>
<td>
<h2>The Spiral Post</h2>
</td>
</tr>
</table>
<table>
<tr>
<td class="announce"><marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 10, 0);" behavior="scroll" direction="left" scrollamount="10"><font size="3"><font color=#ff0000>Welcome to The Wizardly Commons Forum!</font>
</marquee>
</td>
</tr>
</table>
</div>


When your looking at someone's profile the announcement looks like this:
Posted Image

When it's supposed to look like this:
Posted Image
Offline Profile Goto Top
 
Replies:
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
You're going to have to clearly describe what you want, because I don't think we're thinking the same thing.
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
http://z2.ifrm.com/10746/4/0/f5059450/Capture.png
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
You need to reverse this change to undo the gap.
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
no, that's fine. I want to separate it from the profile but how do I move the bottom part?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Change margin-top to margin in the code I previously gave you. To apply no margin to the sides, use this format:
Code:
 
#px 0
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
It won't do anything using the px from the previous code
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<script type="text/javascript">
if (location.href.indexOf('/profile/') !== -1) {
$('#announceBox').css('margin-top', '20px');
}
</script>
I still see margin-top being used.
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
I edited it and nothing
It also edited the announcement box around the site
Edited by Tyler Dream, Aug 5 2015, 03:15 AM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
It should be this:
Code:
 
<script type="text/javascript">
if (location.href.indexOf('/profile/') !== -1) {
$('#announceBox').css('margin', '20px 0');
}
</script>
Offline Profile Goto Top
 
Tyler Dream
Member Avatar
Member
[ *  *  *  * ]
Looks better. Thank you!
Offline Profile Goto Top
 
Moonface
Member Avatar


Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2