Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [eljot] Links SQL 2.x Problem with SPAN Pages

Quote Reply
Re: [eljot] Links SQL 2.x Problem with SPAN Pages In reply to
Ok, I see it. Try changing

Code:
if ($i == 1) { ($i == $nh) ? ($url .= qq~$i ~) : ($url .= qq~<li><a href="$first_url">$i</a></li> ~); }

to

Code:
if ($i == 1) { ($i == $nh) ? ($url .= qq~<li><a href="#">$i</a></li> ~) : ($url .= qq~<li><a href="$first_url">$i</a></li> ~); }

That should fix it :)

Basically, its the "current" page (that normally prints just as a plain number), that was getting outputted- and because this was within a <ul> element, it got added right at the end (as it was not a correct <li></li> element within <ul>)

Angelic

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Links SQL 2.x Problem with SPAN Pages eljot 7606 Jun 27, 2015, 11:41 AM
Thread Re: [eljot] Links SQL 2.x Problem with SPAN Pages
eljot 7545 Jun 27, 2015, 11:43 AM
Thread Re: [eljot] Links SQL 2.x Problem with SPAN Pages
Andy 7544 Jun 27, 2015, 11:25 PM
Thread Re: [Andy] Links SQL 2.x Problem with SPAN Pages
eljot 7542 Jun 28, 2015, 1:44 AM
Post Re: [eljot] Links SQL 2.x Problem with SPAN Pages
Andy 7531 Jun 28, 2015, 1:52 AM
Thread Re: [eljot] Links SQL 2.x Problem with SPAN Pages
Andy 7538 Jun 28, 2015, 1:54 AM
Thread Re: [Andy] Links SQL 2.x Problem with SPAN Pages
eljot 7528 Jun 28, 2015, 3:34 AM
Thread Re: [eljot] Links SQL 2.x Problem with SPAN Pages
eljot 7518 Jun 28, 2015, 3:42 AM
Thread Re: [eljot] Links SQL 2.x Problem with SPAN Pages
eljot 7517 Jun 28, 2015, 3:45 AM
Post Re: [eljot] Links SQL 2.x Problem with SPAN Pages
Andy 7497 Jun 28, 2015, 7:27 AM