• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Minimal Javascript,,,

 
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai All!
I am designing a HTML page that Contains two tabs. While displaying page i have two sets of data(one for each Tab..).
This HTML page is part of an application that has more server side processing and data fot this tabs are generated from Server. But more often than not these data will remain same.
So I am getting all data required at once from server. Now there are cases(Very rarely Happening,,) There is possibility that user might change content of the Tabs and can come back to new page. At that time We have to show a new page.
Now my Question are as follows.
1) Can we implement Tabs without using Javascript?
2) Is CSS helpful in this Context?
3) what are browser depedent issues in that?
4) Do we need to store the Data in session always? (Note that Tab Data are rarely changed and we need to show that Changed Data. If we go for storing Data in session that it results in considerable overhead as user rarely changes that data. If not, How can we handle the case refreshing the page with new Data?)
Any Input and Suggestions are appreciated.
TIA
Rgds
Manohar
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) Not that I know of. There is no HTML Tab Control. Why do you need to do it without Javascript? Can't you get your server-side app to write some client-side code to your HTTP response?
2) Yes, it will be.
3) I would handle this using an IFRAME and image buttons. Basically, you just swap the contents of an IFRAME when the user clicks on one of your "tabs" (image buttons) and then you change the images to show which one is selected. ANYHOO, none, that I know of. I think IFRAME is part of the standard.
4) I would not store data for a form in the session. Perhaps you could use a hidden frame? XML could be helpful here, too.
Hope that approached being helpful...
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic