rejetto forum
May 25, 2012, 10:32:48 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: plz help me with some code  (Read 520 times)
0 Members and 1 Guest are viewing this topic.
psnnoob06
Guest


Email
« on: February 20, 2011, 07:47:00 AM »

Hi,In hfs beta2.3 version.Go to "open in browser" and view page source.
The part i need to implement is :
Code:
<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.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: March 01, 2011, 08:38:24 AM »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 20, 2012, 08:51:12 AM