Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: question About IFrame Ajax

  1. #1
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation question About IFrame Ajax

    hello i want to use an iframe or ajax so i can put up music up top and when people click a thread it doesnt reload. I use vbseo so i need somehow to read the browser url, since i am using a forum. I have a question what should I do and is it possible? I tryed Iframe but like i said it doesnt read the url and it doesnt validate.

  2. #2
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    no one knows?????

  3. #3
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    BUMPer

  4. #4
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    is this forum dead or what?

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You aren't being very specific.

    First, this isn't a good use of AJAX. That's backwards... keeping one part of the page and relaoding the rest. Ajax would be if you were reloading ONE part and keeping the rest. Generally. And, in this case, it's just overkill.

    As for loading the page into an iframe... good idea.*
    It's probably not working because of your code, or because the "form" you mention sends post variables, not GET and you can't use a url to send those. As such, you might want to recode the page recieving the form to use get not post.
    Or, it could just be an error.

    Link, please.


    *Actualy, in this case, you should just use frames... they are slightly more compatible as they were around before iframes, so older browsers can use them too. iframe means inline frame, so it's when you need a frame to act like an image-- it can be placed anywhere on the page. frames make a grid of your page, so you can't just have a section set as a frame with them, but you rather need straight lines crossing the entire frame, splitting it up. In this case, just using the top as a frame, though, would be great for using an iframe.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Quote Originally Posted by category
    is this forum dead or what?
    No, it's still alive.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  7. #7
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok but will the frame read the url becuase i did put it once in an iframe but the url doesnt read so for example if you go to a specific thread the url will be the same all the time but it does work so is a frame like for top only and it will read the url where can i read about frames how does it work? also if you can post the code if its similar to iframe?

  8. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Please. Use. Seperate. Sentences. That's. Really. Hard. To. Read.
    What?

    Please LINK to your page.

    Yes, the iframe will read the url and do things correctly, IF you do it correctly.
    But linking, we can tell what you didn't do correctly.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #9
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    sorry, alirght this is a test page i put it in an frame this what i want but i want the browser to read the url of the lower site.
    Last edited by category; 11-03-2006 at 04:10 AM.

  10. #10
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Periods between the sentences could help

    Safari loads your page fine.

    So does Mozilla.

    And even IE 5 for Mac (Which usually has problems with everything).

    What's the problem?


    EDIT: Ok... are you asking how to set the ADDRESS BAR to the URL of the lower page?
    Sorry.... can't be done.
    Frames don't work like that.
    The url is of the page with the frameset on it, not that of the included pages.
    There's really nothing you can do.
    You could, I suppose, use an iframe on the forum page, thus having it load directly the forum (and show that in the URL) and load into an iframe the top bit, but this would make the top part a sub-page of the lower one, so it would go away each time you loaded the bottom.

    In short, the URL the browser displays in the address bar is the one it loaded. If that pages happens to load more pages through either a frameset or iframe, the browser doesn't care. Then each page acts as a sub-part of the main page, so clicking links and such doesn't change the main page housing them, so the URL remains.

    Note: While I'm sure you have your reasons for placing an ad on your page, it's REALLY REALLY ugly to have such a huge ad there. I'd be annoyed if I were a forum member. Just letting you know...
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •