If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.
Post a reply to the thread: Need a simple HTML code help?
Click here to log in
What comes after M0nday
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
You may rate this thread from 1-star (Terrible) to 5-stars (Excellent) if you wish to do so.
Need a simple HTML code help? I do have html script function what I need is when " swipeDirection == 'left' " need to load a page called "page2.html".Thanks in advance processingRoutine() { var swipedElement = document.getElementById(triggerElementID); if ( swipeDirection == 'left' ) { // REPLACE WITH YOUR ROUTINES swipedElement.style.backgroundColor = 'orange'; } else if ( swipeDirection == 'right' ) { // REPLACE WITH YOUR ROUTINES swipedElement.style.backgroundColor = 'green'; } else if ( swipeDirection == 'up' ) { // REPLACE WITH YOUR ROUTINES swipedElement.style.backgroundColor = 'maroon'; } else if ( swipeDirection == 'down' ) { // REPLACE WITH YOUR ROUTINES swipedElement.style.backgroundColor = 'purple'; } }
Need a simple HTML code help?
Forum Rules