- Create Account

sIFR replacement method on h1 tags

Forums > HTMLHttpRequest > sIFR replacement method on h1 tags
Author
Message

1) Jacks Group: Guests
IP: 88.242.--.--
Hi Angus, I'm Norman Rouxel's neighbour in Turkey and he kindly pointed me in the direction of all your great scripts !

The  problem I'm having is that I'm using the sIFR replacement method on my h1 tags in the targetArea div, when I call on the external .html file all the other page elements display perfectly except my h1 tags ???. I hope you can help.

Thanks in advance Jacks

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Ha, glad you have found the scripts useful!

That's an interesting approach :). Loading dynamic content is a little tricky; you will probably have to edit the copyContent() function in the script so that once the content is copied any sIFR setup code runs on the new elements. I haven't used sIFR much myself, but definitely have a look with something like Firebug (for Firefox) to see what's happening to the content in the page.

Good luck - 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.