/    Sign up×
Community /Pin to ProfileBookmark

Tabs with javascript

Hi

I want tabs on my site using javascript, since i dont want to use frames and i dont want the page to have to be reloaded.

an example is here: [url]http://javascript.internet.com/forms/auto-tab.html[/url] i tried to get the script emailed to me but when i couldnt get it to work.

can someone post the code here or link me to another nifty piece of javascript coding that meet my request?

thanks

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@LeeUAug 29.2007 — Well, first I need to find out why you couldn't get it mailed to you. It worked fine for me just now.

You can also copy the code right from the source tab on the page itself.
Copy linkTweet thisAlerts:
@spliffauthorAug 29.2007 — it did email, but when i copied the code it just didnt work.
Copy linkTweet thisAlerts:
@LeeUAug 30.2007 — Well, you need to tell us why it didn't work. Posting a link to the page will also help, so we can see how it was implemented.
Copy linkTweet thisAlerts:
@coastaldudeAug 30.2007 — I may be wrong here but I think what spliff wants is to create the tabs on the top of the forms, like the ones on the example page (General, Notes, Source Code, User Comments) that when clicked, reveal a different page.

The code on the example page is actually for moving focus automatically from element to element in a form as in the TAB key on the keyboard.

I'm not sure how to do the tabs.
Copy linkTweet thisAlerts:
@LeeUAug 30.2007 — Ahhh, if that's what you're looking for, the script is here.
×

Success!

Help @spliff spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...