Log in

View Full Version : question About IFrame Ajax



category
10-22-2006, 05:06 PM
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.

category
10-27-2006, 01:30 AM
no one knows?????

category
10-30-2006, 12:26 AM
BUMPer

category
10-31-2006, 03:25 AM
is this forum dead or what?

djr33
10-31-2006, 03:29 AM
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.

tech_support
10-31-2006, 04:58 AM
is this forum dead or what?

No, it's still alive.

category
10-31-2006, 04:22 PM
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?

djr33
11-01-2006, 12:39 AM
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.

category
11-01-2006, 11:04 PM
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.

djr33
11-02-2006, 04:37 AM
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...

category
11-03-2006, 04:10 AM
it was just a test I wanted to put an mp3 player there but I would just kill my seo. So its impossible? Isn't there any other method except frame,iframe that can do the job? You think i need two pages to show because i cant add in the forum i can but i dont know how to make the top header to no reload on my is there anything to get this to work?

djr33
11-03-2006, 09:01 AM
ok, if you're not doing an ad, then that's fine.

as for not using frames.... no.

frames will allow each part of the page (embeded pages, really) to refresh seperately.

It would be theoretically possible to base the ENTIRE site in AJAX and load content around the player. But that's ugly.

One alternative could be two windows.

There's really not much you can do....

ultranet
11-06-2006, 08:48 AM
good advice...