Closed Thread Icon

Topic awaiting preservation: dynamic iframe and content (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8639" title="Pages that link to Topic awaiting preservation: dynamic iframe and content (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: dynamic iframe and content <span class="small">(Page 1 of 1)</span>\

 
smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 05-07-2003 12:13

is there a way to create an iframe automatically when the page loads and fill it with html content without actually creating a seperate html page for the src? you may ask why I want to do this, when surely I could create a similar scrolling frame type effect using a div with overflow set to scroll, but humour me with this.

visit my CryoKinesis Online Gallery

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 05-07-2003 14:55

smonkey: The whole point of an iframe is that it loads remote content in so what is the point of using one for local content?

See these FAQs:

:FAQ: How do I make a cross-browser scroller?

:FAQ: How do I make a cross-browser iframe effect?

___________________
Emps

FAQs: Emperor

smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 05-07-2003 18:46

I know the point of an iframe, and I don't like them much - sure it can be great in certain circumstances, I have used the iframe a lot on various projects, but it gets messy with so many seperate pages waiting for their opportunity to be seen - I like simple

The reason why I asked about iframes is because they have some features that I can better exploit with my very basic javascript knowledge, I'm sure what I want to do can be achieved using divs, and I love that to be the case, but I don't know how to do it and so far the forum (this forum) has been short on any suggestions to my numerous posts on various aspects of this same issue I have. I'm running out of time (I did in fact run out of time a while back) and need a quick but working fix until I can work out something better.

**MY LONG RUNNING PROBLEM**

I need a horizontal image scroller that scrolls either left or right without buttons or bars - it has to be controlled by the mouse position inside of the scroller's own area. Sounds simple, but I can't do it with the little I know about javascript at the moment, and I can't learn enough in time.

So to solve my problem I have to work on things already in existance, so does anyone know if it's possible to replace the scroll bar slider button thing with something that uses the mouse position to control movement in either a div scroller an iframe?

It is a relatively simple thing that I want to do yet nobody seems to know much about it. I know there are people floating around who must know how to do it, I see many things that uses the movement of the mouse pointer to control scrolling in some form, unfortunately I personally can't adapt what they do for my needs and nobody else seems able or willing to help out too much.

visit my CryoKinesis Online Gallery

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 05-07-2003 20:11

smonkey: Possibly if you had made one post with your question it might have helped. From the last post related to this:
www.ozoneasylum.com/Forum2/HTML/002113.html

It appeared that you were digested what Dracusis had to say.

The problem with having ideas beyond your ability is that it is possible to improve your ability in those areas so you can implement your idea but it takes a lot of time and hard work and working to a schedule is not the time you really want to be having to dig deep into this kind of thing (unless you got lucky).

Have you seen the Doc's current front page?:
www.ozones.com

as far as I can tell from your description this seems to be the kind of thing that you are working towards.

___________________
Emps

FAQs: Emperor

smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 05-08-2003 00:36

Ok point taken.

I was working with what dracusis said but it wasn't really getting anywhere fast and I still had no idea where I was going with it, it seemed like I was just getting the code I wanted a function at a time from dracusis. So I was trying avenues with slight variations on the theme and metjod with similar but different results - this didn't really get anywere either. You could say I was impatient, but I think that would quite probably be an understatement.

I have seen the doc's page and have emailed him about it and posted questions in the foum about it - that didn't get any real results either http://www.ozoneasylum.com/Forum2/HTML/002111.html .

Well I guess most of what people post is helpful, but it doesn't help me much because I don't know enough to start with. I am under no illusions of my lack of ability with javascript, but I can't give up on my pursuit for my horizontal, gesture-driven, DHTML, image scroller. The more I can't work it out or find a solution the more I'm not willing to give up, when faced with a problem I don't quit, I have to know how to do it and even if I don't ever intend to use the script again I still need to know. If I can't figure it out for myself then I want somebody else smarter to figure it out and tell me, that me be selfish of me, that may be unrealistic of me to want for such things, but that doesn't mean I can just leave this problem and walk away from it. If you forum peeps want me to stop asking about it and various aspects of it you'll just have to say so and I will try somewhere else.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 05-08-2003 01:35

smonkey: Tha main problem is that a piecemeal approach may work for someone well versed in DHTML but if aren't someone like that then it might actually cause you more problems than it solves.

Your best bet is to look at how the Doc does it and reverse engineer things. Basically what you need to do is spot where the cursor is left or right of a centre point and scroll in the appropriate direction so if you have the scrolling and the mouse detection you can pos. bring those together.

I'm afraid that people are pretty busy so you'll be luky to find someone who will do it for you but keep picking away at the problem and you should get there in the end.

Have a look at Bugs' cursor chaser at the GN and track down his panorama page too as that shows how to get the scrolling working in a simple manner.

___________________
Emps

FAQs: Emperor

« BackwardsOnwards »

Show Forum Drop Down Menu