Results 1 to 7 of 7

Thread: Can div tag handle different content per button?

  1. #1
    Join Date
    Feb 2010
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Can div tag handle different content per button?

    im using a Css template , it under heavy modifcation atm
    and still under construction

    My Site

    Im wondering can i make the Div in the Center display change according to which button was pushed , example , if i hit forums can it display the forums and soo forth

    or can any language besides flash do this?
    i know flash decently, but too hard to have to change eveything just to update some text

  2. #2
    Join Date
    Oct 2006
    Location
    New York, NY, USA
    Posts
    262
    Thanks
    42
    Thanked 24 Times in 24 Posts

    Default Wow!

    All those effects and stuff.

    WOW!

    Fantastic artwork in background at bottom reminds me of Graig Mullins http://www.goodbrush.com.

    WOW!

    What was your question? Did you just want to load a page when link was clicked?

    WOW!

    Only wish the navigation system was consistent under Forums so one does not have to use back button.

    WOW!

  3. The Following User Says Thank You to auntnini For This Useful Post:

    illusive817 (02-15-2010)

  4. #3
    Join Date
    Feb 2010
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by auntnini View Post
    All those effects and stuff.

    WOW!

    Fantastic artwork in background at bottom reminds me of Graig Mullins http://www.goodbrush.com.

    WOW!

    What was your question? Did you just want to load a page when link was clicked?

    WOW!

    Only wish the navigation system was consistent under Forums so one does not have to use back button.

    WOW!
    Nah trying to actually make the center Div to load the forums , hold home content and or whatever button is depressed

    Main Site

    in my other pages i made the forums load in an iframe , trying not to go that route this time

    not even sure it possible , but was gonna give it ago
    still have a ton of work to do on the Demise page , i want the background to pixelate in or slide in or something

  5. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    You could do this very easily using PHP (submit the desired page in a form and use include() to include it in the page), or you could use ajax (something like this, maybe?)

  6. The Following User Says Thank You to traq For This Useful Post:

    illusive817 (02-15-2010)

  7. #5
    Join Date
    Feb 2010
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    hmm interesting idea
    il have to give it a try

    my question is now can a single div tag change it contents on demand?

    il see what i can work out , thanks

  8. #6
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    I'm sorry, I was actually thinking of this one.

  9. The Following User Says Thank You to traq For This Useful Post:

    illusive817 (02-16-2010)

  10. #7
    Join Date
    Feb 2010
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    aww yeh that makes more sense , thanks again

    you wouldnt happen to know how to make most recent posts from phpbb show up on the main page would you?

    i found this but not exactly sure where or how to get it to work in a Div?

    Phpbb recent post on main page

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •