FANDOM


Line 13: Line 13:
 
For example, where and how would I put this code:
 
For example, where and how would I put this code:
   
  +
<nowiki>
 
<div class="toprightbox" style="display:none">
 
<div class="toprightbox" style="display:none">
 
<span onclick="jQuery(this.parentNode).fadeOut();">
 
<span onclick="jQuery(this.parentNode).fadeOut();">
Line 24: Line 25:
 
}
 
}
 
</script>
 
</script>
 
 
 
<center>
 
<center>
 
<a href="JavaScript&#058;newPopup('http://www.wix.com/andromedavadum/xdirect12345contactus');">
 
<a href="JavaScript&#058;newPopup('http://www.wix.com/andromedavadum/xdirect12345contactus');">
 
<span style="color: #000000; font-size: 14pt">Contact Us</span>
 
<span style="color: #000000; font-size: 14pt">Contact Us</span>
+
<hr /><span style="color: #000000; font-size: 8pt">Having Problems completing the form, try refreshing by pressing F5!</span></a></center>
 
<hr /><span style="color: #000000; font-size: 8pt">Having Problems completing the form, try refreshing by pressing F5!</span></a>
 
</center>
 
 
</div>
 
</div>
 
<script>setTimeout(function(){jQuery('.toprightbox').fadeIn()},3000)</script>
 
<script>setTimeout(function(){jQuery('.toprightbox').fadeIn()},3000)</script>
  +
</nowiki>
  +
  +
The CSS
   
  +
<nowiki>
 
.toprightbox {
 
.toprightbox {
 
position: absolute;
 
position: absolute;
Line 41: Line 44:
 
padding: 10px;
 
padding: 10px;
 
-webkit-box-shadow: 0px 0px 10px #FFFFFF; -moz-box-shadow: 0px 0px 10px #FFFFFF;
 
-webkit-box-shadow: 0px 0px 10px #FFFFFF; -moz-box-shadow: 0px 0px 10px #FFFFFF;
  +
</nowiki>

Revision as of 21:53, March 31, 2012

Forums: Index Support Requests Add Content above Wikia Navigation
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 3104 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


The code may not be fully displayed so you may want to click edit and view as source in order to view what I am talking about.

1) What is the script for Notifications and "You have new messages"?

2) Does Wikia take JQuery code?

3) How do I put a JQuery script above the Wikia header For example, where and how would I put this code:

<div class="toprightbox" style="display:none"> <span onclick="jQuery(this.parentNode).fadeOut();"> <img style="position:absolute; TOP:0px; RIGHT:3px; align="right"; width:50px; height:50px; src="http://icons.iconarchive.com/icons/dooffy/characters/32/X2-icon.png" /> </span> <script type="text/javascript"> // Popup window code function newPopup(url) { popupWindow = window.open( url,'popUpWindow','height=600,width=1000,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes') } </script> <center> <a href="JavaScript:newPopup('http://www.wix.com/andromedavadum/xdirect12345contactus');"> <span style="color: #000000; font-size: 14pt">Contact Us</span> <hr /><span style="color: #000000; font-size: 8pt">Having Problems completing the form, try refreshing by pressing F5!</span></a></center> </div> <script>setTimeout(function(){jQuery('.toprightbox').fadeIn()},3000)</script>

The CSS

.toprightbox { position: absolute; top: 10px; right: 10px; background: #e1ebf2; color: #000000; text-shadow: 0px 0px 10px #000000; padding: 10px; -webkit-box-shadow: 0px 0px 10px #FFFFFF; -moz-box-shadow: 0px 0px 10px #FFFFFF;

Community content is available under CC-BY-SA unless otherwise noted.