GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 07-Nov-2003, 05:30
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

We're looking for JavaScript codes / mini tutorials.


Yes, it's that time of the year again: we're hoping to develop custom bbcodes for JavaScript codes. To get this done, our plan is to do a couple of things:
  • Open a new forum just for JavaScript.
  • Encourage some 'JavaScript enabled' members to post some snippets of JavaScript codes and/or mini tutorials (so that the custom bbcodes for JavaScript can be tested).

If you're a JavaScript 'expert' and would like to contribute / participate, please post your snippets of JavaScript code and/or mini tutorials inside the Web Design Forums in the meantime. Once there are at least 3 JavaScript related threads, we will move these threads into a brand new forum just for JavaScript.

Meanwhile, I will also welcome suggestions for the colours for a JavaScript bbcode box. Here are the samples off existing custom bbcodes found here on GIDForums™.
  #2  
Old 07-Nov-2003, 10:48
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about
A nice purple might do the trick, for the table color try 6F6FD0.
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business.
  #3  
Old 08-Nov-2003, 00:23
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
You read my mind; I was thinking 'purplish' too but the colour you suggested seems to be a bit on the darker side - think 'pastel'!
  #4  
Old 31-Mar-2005, 15:13
tycooner tycooner is offline
New Member
 
Join Date: Mar 2005
Location: Canada
Posts: 19
tycooner is on a distinguished road
I am a really good Javascript programmer, but I work better with Invisionfree's forums. I created a shop, a suggestion box, a skin switcher, a simple Javascript function that is the equivilant of PHP's $_GET['x']

I need ideas in general to create code, however, so that's my main weakness. I'd probably be interested in a Javascript forum, although the majority of my energy is being focused on PHP right now.
  #5  
Old 04-Nov-2005, 01:26
desbest desbest is offline
New Member
 
Join Date: Mar 2005
Posts: 4
desbest is on a distinguished road

Re: We're looking for JavaScript codes / mini tutorials.


Where will we find the codes? once they're submitted?
  #6  
Old 14-Dec-2005, 09:43
notanexpert notanexpert is offline
New Member
 
Join Date: Dec 2005
Posts: 4
notanexpert is on a distinguished road

add, remove data from 2 large selects


This is a snippet where using two large selects, you can add and remove from one into the other.


HTML Code:
<html> <head> <title></title> <script type="text/javascript"> function addOption (aSelect, text, value, before) { if (!aSelect) { return false; } var o = document.createElement('option'); o.text = text; o.value = value; if (!before) { before = null; } try { aSelect.add(o, before) } catch (er) { try { if (!isNaN(before) && before != null) { before = aSelect.options[before]; } aSelect.add(o, before); } catch (err) { aSelect.add(o); } } } function moveOption (sourceEl, targetEl) { addOption(targetEl, sourceEl.options[sourceEl.selectedIndex].text, sourceEl.options[sourceEl.selectedIndex].value); sourceEl.remove(sourceEl.selectedIndex); } </script> </head> <body> <form> <table> <tr> <td> <select size="5" style="width:100px;" id="source" ondblclick="document.getElementById('add').click();"> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> <option>Option 4</option> <option>Option 5</option> <option>Option 6</option> <option>Option 7</option> </select> </td> <td> <button type="button" id="add" onclick="moveOption(this.form.elements['source'],this.form.elements['target'])">&gt;&gt;</button><br> <button type="button" id="del" onclick="moveOption(this.form.elements['target'],this.form.elements['source'])">&lt;&lt;</button> </td> <td> <select size="5" style="width:100px;" id="target" ondblclick="document.getElementById('del').click();"> </select> </td> </tr> </table> </form> </body> </html>
Last edited by cable_guy_67 : 14-Dec-2005 at 10:01. Reason: please use [html]...[/html] tags for posting code
  #7  
Old 13-Nov-2007, 04:49
sreeja sreeja is offline
New Member
 
Join Date: Nov 2007
Posts: 13
sreeja is an unknown quantity at this point

Re: We're looking for JavaScript codes / mini tutorials.


I will looking in to it.
  #8  
Old 01-Apr-2008, 00:25
Leo F. Swiontek Leo F. Swiontek is offline
New Member
 
Join Date: Apr 2008
Posts: 1
Leo F. Swiontek is on a distinguished road

Re: We're looking for JavaScript codes / mini tutorials.


Yes, you can find tutorials at www.w3schools.com . Here are step by step tutorials.


Leo F. Swiontek
  #9  
Old 23-Nov-2008, 04:27
neutron neutron is offline
New Member
 
Join Date: Nov 2007
Posts: 2
neutron has a little shameless behaviour in the past

Re: We're looking for JavaScript codes / mini tutorials.


you can find readymade js codes from javascript.internet.com
 
 

Recent GIDBlogOnce again, no time for hobbies by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New bbcode - [PHP]codes[/PHP] admin GIDForums™ 0 25-Aug-2002 10:27

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:49.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.