PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Nov 13, 2018 8:45 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Oct 08, 2008 1:34 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
I'm fairly sure I know the answer to this question, but I thought I'd ask before I attempted to solve the problem on the client side. Is numbering like this possible with just css?

1. Introduction
1.1 Overview
1.1.1 Introduction
1.1.2 Inspiration
1.1.3 Philosophy
1.2 Installation
1.2.1 Downloading & extracting
1.2.2 Uploading to your server
1.2.3 Running unit tests
2. Topics
2.1 Getting Started
2.2 Reading a csv file
2.3 Writing / appending a csv file
2.4 Using dialects
2.5 Auto-detecting csv format
2.6 Error Handling
3. Components
3.1 Csv_Reader
3.2 Csv_Writer
3.3 Csv_Dialect
3.4 Csv_AutoDetect
3.5 Csv_Exception

I thought I had seen a way to do this in css at one point but I can't seem to find it. If it isn't possible on the client side I'll just whip up a view helper or something.


Top
 Profile  
 
PostPosted: Wed Oct 08, 2008 2:59 am 
Offline
Jedi Mod
User avatar

Joined: Tue Dec 21, 2004 6:03 pm
Posts: 5263
Location: usrlab.com
I think you could do that by nesting the ordered lists, and then playing around with the margins.. Not sure how you'd get the periods though.


Top
 Profile  
 
PostPosted: Wed Oct 08, 2008 3:37 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13583
Location: New York, NY, US
I think you need Javascript for that kind of numbering.

_________________
(#10850)


Top
 Profile  
 
PostPosted: Wed Oct 08, 2008 4:08 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
This has actually spawned a pretty cool idea for an application, so for the last hour or so I've been crafting my idea. Basically it's a really cool way to write documentation. It will be written in Django, so I should be able to produce a somewhat usable version very quickly. :) Can't wait to show it you guys... I'm on one of those idea rolls I get on once in a while :)


Top
 Profile  
 
PostPosted: Wed Oct 08, 2008 5:59 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
If anybody's interested in my idea, PM me. I'd be happy to have somebody to work on it with, although even just ideas would be helpful. :)


Top
 Profile  
 
PostPosted: Wed Oct 08, 2008 6:05 am 
Offline
DevNet Master
User avatar

Joined: Wed Jun 27, 2007 9:44 am
Posts: 4313
Location: Sofia, Bulgaria
Have you seen this one:
http://iron.corona.googlepages.com/list_counter.html

PS: Well, while it works with Opera9, FF3, Safari3 and Google Chrome, it doesn't seem to work with IE7 :(

_________________
There are 10 types of people in this world, those who understand binary and those who don't


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group