Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 15-07-2006, 09:53 AM   #1 (permalink)
MasterMind
 
killerz's Avatar
 
Join Date: Jan 2006
Location: Dehradun
Posts: 57
Unhappy need a script to browse pages on my site


hi frndzz, i m makin a new site www.cursedpirates.owns.it, i need a script like when u have many pages in a section ,at the bottom there is a menu
example::

<prev 1 2 3 4 5 6 next>


i need this kind of script to insert in my pages as i have many pages im my mobile software section ..


pplz tell me whats this script called,and where can i find such script

plzzz replyy someone

Last edited by killerz; 15-07-2006 at 10:04 PM. Reason: Automerged Doublepost
killerz is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-07-2006, 10:00 AM   #2 (permalink)
MasterMind
 
killerz's Avatar
 
Join Date: Jan 2006
Location: Dehradun
Posts: 57
Default Re: need a script to browse pages on my site

This Is Digusting No Ones Even Replying
killerz is offline  
Old 16-07-2006, 12:23 PM   #3 (permalink)
Wise Old Crow
 
blueshift's Avatar
 
Join Date: Apr 2005
Location: Inside the Pixel
Posts: 1,227
Default Re: need a script to browse pages on my site

didn't understand what you want.
do you want to automatically show the no. of pages?
__________________
http://twitter.com/blueshift155
blueshift is offline  
Old 16-07-2006, 12:24 PM   #4 (permalink)
MasterMind
 
killerz's Avatar
 
Join Date: Jan 2006
Location: Dehradun
Posts: 57
Default Re: need a script to browse pages on my site

i want this

killerz is offline  
Old 16-07-2006, 03:28 PM   #5 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: need a script to browse pages on my site

Try http://www.hotscripts.com to see if you find something.

IMO, you will have to code this manually. You can make a single file with this type of navigation and use PHP's include() function to include it at the bottom of all your pages. So if in future you add/delete pages, you have to edit just this one file and it will show in all the pages. If you do this, you will have to name you pages as .php and not .htm/.html

Code:
<?php include("navigation.txt"); ?>

Last edited by tuxfan; 16-07-2006 at 03:33 PM.
tuxfan is offline  
Old 16-07-2006, 04:29 PM   #6 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
Default Re: need a script to browse pages on my site

Quote:
Originally Posted by tuxfan
Try http://www.hotscripts.com to see if you find something.

IMO, you will have to code this manually. You can make a single file with this type of navigation and use PHP's include() function to include it at the bottom of all your pages. So if in future you add/delete pages, you have to edit just this one file and it will show in all the pages. If you do this, you will have to name you pages as .php and not .htm/.html

Code:
<?php include("navigation.txt"); ?>
i think auto generation of page numbers is only possible in php not sure though but i certainly dont think html has such a script
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 17-07-2006, 02:53 PM   #7 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: need a script to browse pages on my site

Quote:
Originally Posted by mAV3
i think auto generation of page numbers is only possible in php not sure though but i certainly dont think html has such a script
HTML cannot generate any dynamic content and has no scripting. Dynamic content on a page could be possible in 2 ways:
- Clientside (your machine) - e.g. Javascript, VBscript
- Serverside - e.g. PHP, ASP

But in this case, it depends on the number of pages physically present on the server. As far as I think (from common sense) it is not possible to count the files on the server!!

However, it is possible to find out if a file exists or not with the PHP's file_exists() function. So if a uniformity is maintained in naming the file, this list at the bottom could be dynamically generated. But writing this code needs effort and time. The simpler way out is to make the navigation manually and include it.

Of course, if it keeps changing every now and then, then it may justify the time spend in writing the code. But here the number of pages will change only when a new page will added manually. So alongwith an added page, if this navigation file is also modified, it will take less time than writing the code.
tuxfan is offline  
Old 17-07-2006, 09:23 PM   #8 (permalink)
MasterMind
 
killerz's Avatar
 
Join Date: Jan 2006
Location: Dehradun
Posts: 57
Default Re: need a script to browse pages on my site

i found similar script here http://ridwank.com/script/js_horzscroll/
but it neeeds some editing
killerz is offline  
Old 18-07-2006, 10:45 AM   #9 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: need a script to browse pages on my site

What are you saying killerz!! The link that you gave is something totally different and has no relation to the topic!
tuxfan is offline  
Old 18-07-2006, 10:58 AM   #10 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: need a script to browse pages on my site

yup man!!! the link u gave is a scroller... adn wat u asked for above is something else...
goto hotscripts.com or dynamicdrive.com and searech in php...
Pathik is offline  
Old 20-07-2006, 09:53 PM   #11 (permalink)
MasterMind
 
killerz's Avatar
 
Join Date: Jan 2006
Location: Dehradun
Posts: 57
Default Re: need a script to browse pages on my site

yes guys its some what similar to the script i need but i edited this scroller script
and finally got what i needed..
thanks tuxfan
chk this


PROBLEM SOLVED!

Last edited by killerz; 20-07-2006 at 09:57 PM.
killerz is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Charan
- by abhidev
- by Sujeet
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2