Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2011, 04:45 PM
Poppy's Avatar
Poppy Poppy is offline
|Ruler of Cats and Rats|
 
Join Date: Oct 2011
Posts: 21
Gender: Female
Credits: 3,782
Poppy is on a distinguished road
Default ||Random codes you might find usefulell||

Some codes that I found that Mys members might find useful.
_________________________________________

HTML Codes

Basic HTML Page

Code:
<html>
<head>
<title>Your Page Title</title>
</head>
<body>

This area will contain everything that will be visible through a web browser, such as text and graphics. All of the information will be HTML coded.

For a complete list of HTML codes, tags and examples, see the HTML chart below.

</body>
</html>
Drop Down Menu

Found Here
Code:
<ul id="sddm">
    <li><a href="#" 
        onmouseover="mopen('m1')" 
        onmouseout="mclosetime()">Home</a>
        <div id="m1" 
            onmouseover="mcancelclosetime()" 
            onmouseout="mclosetime()">
        <a href="#">HTML Drop Down</a>
        <a href="#">DHTML Menu</a>
        <a href="#">JavaScript DropDown</a>
        <a href="#">Cascading Menu</a>
        <a href="#">CSS Horizontal Menu</a>
        </div>
    </li>
    <li><a href="#" 
        onmouseover="mopen('m2')" 
        onmouseout="mclosetime()">Download</a>
        <div id="m2" 
            onmouseover="mcancelclosetime()" 
            onmouseout="mclosetime()">
        <a href="#">ASP Dropdown</a>
        <a href="#">Pulldown menu</a>
        <a href="#">AJAX Drop Submenu</a>
        <a href="#">DIV Cascading Menu</a>
        </div>
    </li>
    <li><a href="#">Order</a></li>
    <li><a href="#">Help</a></li>
    <li><a href="#">Contact</a></li>
</ul>
<div style="clear:both"></div>
JavaScript Codes

Time and Date

Code:
<html>
<body>

<script type="text/javascript">

var d=new Date();
document.write(d);

</script>

</body>
</html>
Make This Your Homepage

Code:
<FORM>
<INPUT TYPE="button" VALUE="Make This Site Your Home Page" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('Page URL beginning with http:// here');">
</FORM>
Users Change Background Color
Found Here
Code:
<!-- this script got from www.javascriptfreecode.com-Coded by: Krishna Eydat -->

<p>[<a href="/"
onmouseover="document.bgColor='green'">Green</a>]<br>
[<a href="/"
onmouseover="document.bgColor='greem'">Bright Green</a>]<br>
[<a href="/"
onmouseover="document.bgColor='seagreen'">Sea Green</a>]<br>
[<a href="/"
onmouseover="document.bgColor='red'">Red</a>]<BR>
[<a href="/"
onmouseover="document.bgColor='magenta'">Magenta</a>]<br>
[<a href="/"
onmouseover="document.bgColor='fusia'">Fusia</a>]<br>
[<a href="/"
onmouseover="document.bgColor='pink'">Pink</a>]<br>
[<a href="/"
onmouseover="document.bgColor='purple'">Purple</a>]<BR>
[<a href="/"
onmouseover="document.bgColor='navy'">Navy</a>]<br>
[<a href="/"
onmouseover="document.bgColor='blue'">Blue</a>]<br>
[<a href="/"
onmouseover="document.bgColor='royalblue'">Royal Blue</a>]<br>
[<a href="/"
onmouseover="document.bgColor='Skyblue'">Sky Blue</a>]<BR>
[<a href="/"
onmouseover="document.bgColor='yellow'">Yellow</a>]<br>
[<a href="/"
onmouseover="document.bgColor='brown'">Brown</a>]<br>
[<a href="/"
onmouseover="document.bgColor='almond'">Almond</a>]<br>
[<a href="/"
onmouseover="document.bgColor='white'">White</a>]<BR>
[<a href="/"
onmouseover="document.bgColor='black'">Black</a>]<br>
[<a href="/"
onmouseover="document.bgColor='coral'">Coral</a>]<br>
[<a href="/"
onmouseover="document.bgColor='olivedrab'">Olive Drab</a>]<br>
[<a href="/"
onmouseover="document.bgColor='orange'">Orange</a>]<br>
<hr color="#00FFFF">
<font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>
Reply With Quote
  #2  
Old 11-06-2011, 05:27 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 335,777
Hall of Famer is on a distinguished road
Default

This looks quite interesting, thanks for posting it. I don't think any active user here is quite good at JavaScript, so if you don't mind, posting some tutorials regarding JavaScript may be a good idea?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 11-07-2011, 06:40 AM
Poppy's Avatar
Poppy Poppy is offline
|Ruler of Cats and Rats|
 
Join Date: Oct 2011
Posts: 21
Gender: Female
Credits: 3,782
Poppy is on a distinguished road
Default

Well, I'm just figuring Javascript out myself, but I have a pretty good understanding of it so far(because some of it reminds me of Scratch, the program I downloaded a while back to make games:P) and might be able to put together a tutorial of how to make statements, explain variables and operators, etc, pretty much the basics which would help people figure these codes out.
Reply With Quote
  #4  
Old 11-07-2011, 02:37 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 335,777
Hall of Famer is on a distinguished road
Default

I see, sounds quite interesting I must say. Javascript and PHP do have some similarities, once you grasp one you will find it much easier to learn the other. I started with simple C++ programming when I was younger, and I found PHP much easier to learn compared to C++. Javascript's syntax is more similar to the programming language Java though, while PHP's syntax finds its resemblance with C language. The challenge comes when you have to use two programming language interchangeably. For instance, assigning a variable in PHP and javascript are like a piece of cake, but how to use a pre-defined PHP variable in javascript and vice-versa, this is the challenge.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 11-07-2011, 04:33 PM
Poppy's Avatar
Poppy Poppy is offline
|Ruler of Cats and Rats|
 
Join Date: Oct 2011
Posts: 21
Gender: Female
Credits: 3,782
Poppy is on a distinguished road
Default

Yeah, it really helped me, I had startedbuilding an extremely simple battle script using Javascript, then I became stumped on how to subtract a certain amount from a variable when a button was clicked and rplace it with the original health, if thats possible. That does sound difficult, I'll just have to find a good tut some were when I get to a time I'm ready and read it a bunch of times :p. Oh, and I wanted to ask a favor. You being the admin, could you chang my screenname to Poppy for me, please?
Reply With Quote
  #6  
Old 11-07-2011, 05:10 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 335,777
Hall of Famer is on a distinguished road
Default

Alright, your wish is granted. Have fun Emily/Poppy.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 11-07-2011, 05:12 PM
Poppy's Avatar
Poppy Poppy is offline
|Ruler of Cats and Rats|
 
Join Date: Oct 2011
Posts: 21
Gender: Female
Credits: 3,782
Poppy is on a distinguished road
Default

Thanks
Reply With Quote
Reply


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
class_Mysidia.php can't find Smarty.class.php Skaiya Feedback and Suggestions 7 03-30-2014 01:45 PM
Random Codes (HTML/JS) ChibiMaestro Tutorials and Tips 5 02-19-2011 04:56 AM
How do i find my new themes URL? RipJawWolfFang Questions and Supports 12 05-18-2009 04:39 PM
Random 5 is not realy random! RipJawWolfFang Questions and Supports 9 04-30-2009 06:03 AM
is there anyway to find out how many times someone has clicked adoptables? aroymart Questions and Supports 4 04-13-2009 03:36 PM


All times are GMT -5. The time now is 08:01 PM.

Currently Active Users: 9840 (0 members and 9840 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