XtGem Forum catalog



Dear!! Join ClickMaster vs WapMasters Forum

Tip : Click on the icon next to the file name to open file for codes .


This page contain references and tutorials of the xtgem mobile building tools version


To create site at xtgem.com is easy. This tutorial is equipped with advance and codes , makes it easy to learn and exiting!


XTGEM TUTORIALS XT

XtGem get-variablesThese can be used on ANY XtGem site WITHOUTupgradingThis is a very complex subject so I will only cover the basics hereXtGem "get" variables can be used to replace any text or code in your site with a value that has been declared in a link or formIn your code or text a variable looks like thisdefault_valueOriginal XtBoard post
a simple form to display you#form" method="get">
Enter your name

Enter your age


your name is currently unknown your age is also unknown
The Form
This sets up the form and tells it where to go. (in this case back to itself)
You can also use method="post" so that thevariables will not appear in the url box
input the values for name and age
The xt variables restores the last value of name and age after the form has been submitted
Submit the form and close it
The output of the formyour name iscurrently unknown
your age is also unknown
your name is currently unknown
your age is also unknown
The Xt variables alter the text that is output
Setting the values with a linkYou can set the values in the query string of a link
my name is Ringo Starr I am 56
You start the query string with a ? and use & to separate variables
my name is Ringo Starr I am 56This link reloads the current page with the values for name and age set
Passing values to another page
To pass the currently set variables to another page on your site you must set the current values in the link to the new page
a new pageA new pageNOTE: the http://clickmasters.mobie.in/WapMaster_Tools/Xtgem.com/Getvariables and
hidden Xt functions
Will pass on any variables set in the url of a link or in forms using method="get"AUTOMATICALLY
Using in XT functions and widgets
This chatt box has it's custom key set by myname myage from the form above or below
Enter your name

Enter your age


your chatt id is Ringo Starr56




Use in Javascriptclick me
click me

Hiding thingsYou can use variables to hide or reveal parts of a page. there are 2 ways to do this
Hiding in commentsHide and show using html comments. Anything between is ignored by the browser. This places comments at the beginning and end of a section of code
This is what the browser seesThis will show on page loadThis is the actual codeShow itnow
The code for the links

What the browser sees
Show it nowThis will show on page load
Hiding with csshide and show using css. this uses the cssproperty "display:" to hide or reveal sections of code
Show hidden and hide whats showingSwitch back again

<span class="box3"><div style="display:block;border:4px outset #800;background:#f80;padding: 1em;width:72px;margin:0 auto;text-align:center">This shows on page load</div> <div style="display:none;border:4px inset #080;background:#0f8;padding: 1em;width:72px;margin:0 auto;text-align:center">This was hidden</div> </span> </div>
This shows on page load
This was hidden

Sites


© 2015 clickmasters.mobie.in
Online : 1 Guest(s)
Today : 1 Guest(s)
Total : 934 Hits
Created by: ClickMaster™
Copyright © 2010 -
All Rights Reserved
Anambra, NIGERIA