DragonTooth™



Welcome To DragonTooth (GameDEV). Our Administrators: Emptrix, Amethyst, Shizuko~Conan, Yamino. To Contact Us, e-mail: Dragon_Tooth@live.com.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Welcome to DragonToothDEV Forum. We are currently not taking anymore new users, however we will accept users that has Friend's Recommendation. Members who's friends are joining please pm one of the Administrators the username of your friend's newly created account to get it activated.

Share | 
 

 (GUIDE) Dynamic Linking

Go down 
AuthorMessage
Emptrix
Staff Administrator
avatar

Posts : 1218
Points : 1916
Reputation : 13
Join date : 2009-05-09
Age : 27
Location : The World That Never Was

PostSubject: (GUIDE) Dynamic Linking   Sat Feb 04, 2012 1:42 pm

1st Segment: This is basically the source of the Dynamic Link.
Paste this inside the
Code:
<head>
.
Code:
        <script type="text/javascript">

            function changeNavigation(id)

            {document.getElementById('main').innerHTML=document.getElementById(id).innerHTML}

        </script>

2nd SEGMENT: Use this to create a Hyperlink on your webpage.
Paste this inside your menubar.
Code:
<span id="navi" onClick="changeNavigation('home')"

                                      onMouseover="this.style.cursor='pointer'"

                                      onMouseout="this.style.cursor='default'">HOME</span>


3rd SEGMENT: Has 2 parts. 1st portion is the first/default Dynamic Link you wish to display.
Paste PORTION 1 & 2 inside your
Code:
<body>
. This will create a page. Whatever you paste in between the DIV will be displayed when clicked.
PORTION 1
In the 1st SEGMENT 'main' was defined as the default Dynamic Link.
Code:
<div id="main">
</div>

PORTION 2
From here onwards, this will display ONLY when you click the link.
Code:
<div id="srch" style="display:none;">
</div>

_________________
Back to top Go down
View user profile http://emptrix.tk
 
(GUIDE) Dynamic Linking
Back to top 
Page 1 of 1
 Similar topics
-
» Locating dynamic IDs generated when a new Directory is created !
» Help PLZ.....Dynamic locator
» How to test dynamic ids using Selenium
» unable to find dynamic frame ids
» How Click on Dynamic Objects at Dynamic Positions in Selenium using for loop

Permissions in this forum:You cannot reply to topics in this forum
DragonTooth™ :: Help & Support :: Help & Requests-
Jump to: