Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-17-2012, 08:35 AM
MaximumRide's Avatar
MaximumRide MaximumRide is offline
THROW THE CHEESE!!
 
Join Date: Apr 2012
Location: Somewhere far away
Posts: 181
Gender: Female
Credits: 17,012
MaximumRide is on a distinguished road
Default Html?

Ugh I need a thread for all my questions.... Anyway is there a way to put html coding in a page content? What I want to put in there is this:
Code:
<style>
  .row
   { 
     padding-left:10px;background-color:white;
     font-family: verdana, san-serif;font-size: 13px
   }
</style>
<table align=center style="background-color:#C0C0C0";>
   <tr><td background-color:#C0C0C0 align=center width=300 style="font-family:Times New Roman;"><b>Water Dish</td></tr>
   <tr><td id=add1 class=row width=300 align=center>You might want to fill up the dish...</td></tr>
   <tr><td align=center><input type=button value="Fill Water Dish" border=0 onclick="rotate()"></td></tr>
</table>
<script type="text/javascript">
/< !-- Script by hscripts.com -->/
    var arr= new Array();
    arr.push("One of your pets happily bounds over and laps up the water!");
    arr.push("You fill up the dish, but none of your pets seem to be thirsty.");
    arr.push("Several of your pets rush forwards, causing the water to spill!");
    arr.push("One of your smaller pets decides to sit in the water dish.");
    arr.push("One of your pets laps up the water as you fill it.");
    arr.push("Some pets come over to investigate, but none bother to drink it.");
    arr.push("Oh, your water dish is already full!");
    
    function rotate()
    {
    var num= Math.round(Math.random()*3);
    add(num);
    }

    function add(i)
    {
    var chi = document.createTextNode(arr[i]);
    var tab1 = document.getElementById("add1");
        while(tab1.hasChildNodes())
        {
         tab1.removeChild(tab1.firstChild);
        }
    tab1.appendChild(chi);
    }
</script>
__________________
Please click these :3
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML location GuardiansWish Templates and Themes 9 06-25-2012 12:08 PM
Ad HTML not working AlkseeyaKC Questions and Supports 2 07-01-2011 07:13 AM
Editing the HTML side of the CSS? Sasoragon Questions and Supports 6 02-17-2011 09:40 AM
HTML instead of BBCODE PokePets Questions and Supports 3 08-09-2010 05:36 AM
Html in content? Sora Questions and Supports 7 04-21-2009 05:57 PM


All times are GMT -5. The time now is 11:19 AM.

Currently Active Users: 701 (0 members and 701 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636