|
-
Nov 20th, 2005, 07:56 PM
#1
Thread Starter
Member
substituting information on a web page
hello
i'm currently trying to improve a website for a club of which i am a member. the website currently has a section which displays the profiles of its members on 4 seperate pages. i want to cut this down to 1 page, but due to the number of people who are members, this isn't really practical from an end users point of view due to each user having an image of themselves as part of their profile.
what i want to know is:
is it possible to have a list of names on the page, and when a particular name is clicked then the profile for that person is displayed. this would mean that only 1 image would have to be loaded at a time, making the page load faster.
what is the best way of doing this, bearing in mind that i have a fairly good understanding of html but hardly any knowledge of javascript, or other web based programming languages.
any help would be greatfully recieved
thanks in advance
-
Nov 20th, 2005, 09:17 PM
#2
Fanatic Member
Re: substituting information on a web page
Hi,
Yeah this is perfectly possible. Youll first need to know waht language the page is written in and how it retrieves its members from the database (ADO or ODBC).
the plan how to extend the page functionality (I.D reducing the member info retrieved and making allowances for the option of member specifics retrieveable. I would personally do this by using quesrystrings and ativating commands based upon the querystring value, is the easiest way probably.
Then simply write the code and te command to do so. not much server code involved in this and is easily implemented and deployed.
If you post the site details i'll have a quick look ad advicse you a little further on this and give you language pointers if needs be.
Hope this helps
Kai
As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..
A few things that make a good Developer a Great One.
Methodical and a thorough approach to research and design inevitably leads to success.
Forward thinking is the key to Flow of control.
Never test in the design environment, always test in real time, you get the REAL results.
CBSE & OOSE are the same animal, they just require different techniques, and thinking.
SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
The key to good design is explicit attention to both detail and response.
Think Freely out of the "Box" you're in..... You will soar to better heights.
Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT
-
Nov 22nd, 2005, 03:44 AM
#3
Fanatic Member
Re: substituting information on a web page
You can also include all of the users info in a single html page and use javascript and css to hide some info and show other info. One method is to use Iframes another is to use folding list. Using the folding list method all images pre-load but since they are loading to a non-displayed portion of the page it isn't noticeable unless you are watching the status bar count them off as they load.
I'm actually working on a folding list method script..if I can get it to function in Mozilla pretty quick I'll post it but right now it's actually using an IE exploit and I hate to do that in production environments.
What bug? That's not a bug. It's an undocumented feature!
-
Nov 22nd, 2005, 08:46 AM
#4
Thread Starter
Member
Re: substituting information on a web page
hi kaihirst
the information on the pages is coded in html and not actually retrieved from a database. I was thinking more along the lines of having html to display the info but only displaying the part of the html which applies to a specific member, something along the lines of what is suggested by anotherVBnewbie.
if you want to see what the pages are like at the moment, the address is
http://www.tainosen.co.uk
look in the section about the students and it'll give you an idea of what i mean, (the information is incomplete at the moment but will be updated in the coming weeks, but you'll understand what i mean when you see it)
anotherVBnewbie
is there anywhere i can get an example of a folding list method to see exactly what it does?
-
Nov 22nd, 2005, 10:05 AM
#5
Fanatic Member
Re: substituting information on a web page
Hi
You can use HTML, CSS and javaqscript in such a way like this.
HTML Code:
<b onclick='show_or_hide()'> show/hide
<div id='name' style='display:blovck>
bla balh balh balh
</div>
javascript wil look like this.
VB Code:
function show_or_hide() {
if (document.all.name.style.display == 'non') {
document.all.name.style.display = 'block'
} else{
document.all.name.style.display = 'none'
}
}
self explanatory really, click to show, click again to hide.
Heop this helps.
Kai
As the information I give is useful in its nature, consider using the RATE POST feature located on the bottom left of this post please..
A few things that make a good Developer a Great One.
Methodical and a thorough approach to research and design inevitably leads to success.
Forward thinking is the key to Flow of control.
Never test in the design environment, always test in real time, you get the REAL results.
CBSE & OOSE are the same animal, they just require different techniques, and thinking.
SEO is a globe of objectives, SE rankings is an end to a means for these objectives, not part of them.
The key to good design is explicit attention to both detail and response.
Think Freely out of the "Box" you're in..... You will soar to better heights.
Kai Hirst - MSCE, MCDBA, MCSD, MCP, MCAP, MSCT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|