Embedding forum to wiki page causes page to jump to topic

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Embedding forum to wiki page causes page to jump to topic

LesW
When I embed a forum topic at the end of a wiki page using the following:

{html}

Gateway-of-Gateways
<script src="http://forums.connectopensource.org/embed/p4828288"></script>
{html}

I find that when the page is done painting, it jumps to the topic and the user does not see that there is information on the WIKI page above the topic.  Is there a way to make it jump back to the top of the page, or tell it not to jump to the forum part of the page?

(Note - I am using a Confluence WIKI - I am not sure if this is a problem with that WIKI or wit this embeddable script)
Reply | Threaded
Open this post in threaded view
|

Re: Embedding forum to wiki page causes page to jump to topic

Hugo <Nabble>
You should use the nabble_ignore_scroll variable as explained here:
http://n2.nabble.com/help/Answer.jtp?id=48

Please let me know if you have questions, comments or concerns.
Reply | Threaded
Open this post in threaded view
|

RE: Embedding forum to wiki page causes page to jump to topic

LesW

I tried adding the nabble_ignore_scroll variable and it still jumps…

 

You can see an example of this at this URL: http://developer.connectopensource.org/display/CONNECTWIKI/Gateway+of+Gateways

 

This is what my code looks like: 

 

{html}

<a id="nabblelink" href="http://forums.connectopensource.org/Gateway-of-Gateways-tp4828288p4828288.html">Gateway-of-Gateways</a>

<script type="text/javascript" src="http://forums.connectopensource.org/embed/p4828288" >

nabble_ignore_scroll = true;

</script>

{html}

 

Any ideas?

Reply | Threaded
Open this post in threaded view
|

RE: Embedding forum to wiki page causes page to jump to topic

Hugo <Nabble>
Please set that variable in a separated script block. You have mixed it with the Nabble embedding code and this is wrong.