Author Topic: plz help me with some code  (Read 978 times)

0 Members and 1 Guest are viewing this topic.

psnnoob06

  • Guest
plz help me with some code
« on: February 20, 2011, 01:47:00 PM »
Hi,In hfs beta2.3 version.Go to "open in browser" and view page source.
The part i need to implement is :
Code: [Select]
<div style="" id="pages">Page <span class="selectedPage">1</span> <span>2</span> <span>3</span><button>No pages</button></div>

In short how can I arrange my div ids in paged(page 1,page2 etc)manner.
So that I could just add some line of JS code on very first of html page.And all element will arrange in a manner.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: plz help me with some code
« Reply #1 on: March 01, 2011, 02:38:24 PM »
sorry for the late reply.
i guess we are talking about the default template.
that html is not in the source, it's dynamicall generated.
If you want to style it, i'm already doing it in the style section

#pages span { padding-left:0.5em; padding-right:0.5em; cursor:pointer; }

you see, it's all DIV "pages" and every page is a SPAN.
you probably don't need javascript to arrange them, but just css.