Link to home
Start Free TrialLog in
Avatar of Graeme McGilvray
Graeme McGilvrayFlag for Australia

asked on

Creating TABS in ASP Classic NOT using DIV

Hi all, I have been trying to look for some simple code to create Tabs in ASP classic that isnt DIV, there has been a couple out there, but incomplete (which doesnt help)

3 Tabs i am looking for with tables, each TAB calling its own Querystring

Any help to get me on the right track would be greatly appreciated

Let me know if you need any more specific information
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

That's confusing.  Why do you care whether it is a DIV or not?  And I don't know what you mean by TABs.
Avatar of Graeme McGilvray

ASKER

Sorry, Tabs at the top of the page with the info to flick between, (like you get at the top of your browser)

I dont want DIV because my page is Tables
I dont want DIV because my page is Tables
That doesn't matter.  You will still have to have a 'container' element to switch between the tabs and the tables aren't going to do it.  It will also require JavaScript to turn the tabs on and off as needed.

I think this page is what you need.  http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
Oh ok, sorry I didnt know that you could mix them, from previous conversations on here, people have said 1 or the other.

The link that you have sent is interesting, however a little confusing for me, are  you able to help me code it?
I don't need to help you, the code is available for download on that page.
Ok thanks for the help, however I would like someone to help me
You should at least download the code and try it yourself.
Ok I shall try, be back in a couple of days
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Big Monty, the basics of HTML and JavaScript have not changed in many many years.  Firefox 1.0 was released on October 27, 2004.  HTML 4.01 was released on December 24, 1999... and most of it is still supported in HTML5.
like I said, it may very well work, and work well, I don't know, I didnt test it. All I was saying is if I had to choose between very old code or using a industry standard, like jQuery, that handles deprecation fairly well, I know which one I'd choose...
Well, you should click on the link and try it.  Things like <p> and <br> have been around since HTML 3.2 in 1996 and they still work just fine in all HTML and browsers since then.  While your jquery suggestion is fine, I am irritated by your criticism which shows a misunderstanding of HTML and JavaScript and how little it has actually changed over the years.  In addition, it is common practice to state the earliest version of a browser that will support the code being offered even when the code was written more recently.

And yes it is running on this computer in the current browsers without problems.
how did I criticize you? All I did was offer a different opinion. If you take someone disagreeing with you as a form of criticism, then well, I don't know what to say.

HTML has changed a decent amount over the years, a quick google search yields results saying so. Does <br/>, <p>, and other common tags still work? absolutely, and will probably continue to do so. but i'm sure people thought back in the day that <font> would always be a good way to style your text. my point is that html specs change over each release, and while older tags may still be supported, it may not always be the best way to do things....

i don't want to continue to hijack this thread, so this'll be my last opinion piece. if you want to continue the discussion, feel free to message me
Hi BigMonty, thank you very much for sharing your knowledge, your example worked perfectly for me! :)
Is there a way, where I can see the CSS? so I can create my own, etc?? just want the setup of it
all of the CSS is jquery.css and jqueryui.css. if you want to custom the look and feel with it, I recommend using jquery theme roller:

http://jqueryui.com/themeroller/

this'll allow you to customize the look and feel without having to mess with the css
Thanks again BigMonty!! Will have a good look through it!
Hi BigMonty have been looking at ThemeRoller, am changing stuff, but cant seem to find an 'apply' button to view my changes. does this mean I have to download the CSS and upload it to test it everytime?
if you mean upload it to your website that you're applying the theme to, then yes, that is the way to test it
ah fair enough, bit of a bummer, if you are new to it i guess.

thank you!
it is, but you should be able to get a sense of what it'll look like right on the themeroller page, as it displays common components to show what your changes will look like.
yeah im getting the jist of it, the hard part is the greys are close to each other, so hard to pick out which is which