- Create Account

Load two files in different divs

Forums > DHTML Scroller > Load two files in different divs
Author
Message

1) Joseph Group: Guests
IP: 210.186.--.--
I have the div scroller on my page. When a link on the menu is clicked it loads the content into the content frame. What I want to do is to load another file at the same time into another div when a is clicked. That means each time an item is selected on the menu, two files load into different divs on the page.

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Woah, missed this when you posted it sorry.

It is quite possible to do this, add this to an element:

onclick="scroller1.load('whatever'); scroller2.load('whatever')"

- Angus.

3) Joseph Group: Guests
IP: 210.186.--.--
Thanks mate. Will try it out soon. By the way, I haven't been able to access your site for the past few weeks. God knows why.

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
There was an error for a few days early last week but I jumped on that :). Try clearnig your browser cache and trying again!

Cheers - Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.