[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Adding function to Content Organiser script?
Advertisement

Adding function to Content Organiser script?

Moderators: Calcifer, slothy

Postby divtag32 » Tue Sep 26, 2006 12:51 pm

1) Super dooper doo! It works perfect! Damn curly brackets eh!

Thank you so much!

2)
So I tried turning this:
<a href="#" onclick="navigateToElement(false,document.getElementById("toc_link2");return false">Navigate</a>

Into:
<a onclick="navigateToElement(false,document.getElementById(" toc_link2");return false"
href="credit_general/default.htm">Increasing number of IVAs</a>

but I get a syntax error when I try loading this page and clicking just drops me to the first content item - but I get your thinking - so does the page I'm navigating from need to have the same js loaded perhaps?

Should it work from any page as long as the hyperlink syntax is correct?
divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby Batalf » Tue Sep 26, 2006 12:53 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby divtag32 » Tue Sep 26, 2006 1:02 pm

Heh! Still no joy - I get an error ')' expected with the above - so I tried adding it here:

<a href="credit_general/default.htm"
onclick="navigateToElement(false,document.getElementById('toc_link2'));return false"
href="credit_general/default.htm">Increasing number of IVAs</a>

And that gets rid of the error, but it doesn't jump to the place. I also tried:

<a href="credit_general/default.htm"
onclick="navigateToElement(false,document.getElementById('toc_link2');return false)"
href="credit_general/default.htm">Increasing number of IVAs</a>

But that gives errors too!

Man it's so close!
divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby Batalf » Tue Sep 26, 2006 1:05 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby divtag32 » Tue Sep 26, 2006 1:18 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby Batalf » Tue Sep 26, 2006 1:26 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby divtag32 » Tue Sep 26, 2006 2:05 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby divtag32 » Tue Sep 26, 2006 2:09 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby Batalf » Tue Sep 26, 2006 2:26 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby divtag32 » Tue Sep 26, 2006 2:52 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby Batalf » Tue Sep 26, 2006 2:55 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby divtag32 » Tue Sep 26, 2006 3:01 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby divtag32 » Tue Sep 26, 2006 3:04 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

Postby Batalf » Tue Sep 26, 2006 3:12 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby divtag32 » Tue Sep 26, 2006 3:14 pm

divtag32
 
Posts: 50
Joined: Mon Sep 25, 2006 12:54 pm

PreviousNext

Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 12 guests

cron