Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:10:26 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Crazy template idea  (Read 875 times)
noname8

Offline Offline

Posts: 75


« on: November 09, 2011, 12:31:04 PM »

Has anyone tried to make a websitebaker template that lists all the page conent, but each one in a hidden div ?

So that the whole page is fully loaded and no page refresh is needed anymore. Clicking the menu links would only show/hide specific divs that contains specific page.

It would be crucial that backed would work just like before and gets no harder - also newly added pages are shown in the template
« Last Edit: November 09, 2011, 01:30:45 PM by Argos » Logged
fischstäbchenbrenner

Offline Offline

Posts: 271



« Reply #1 on: November 09, 2011, 01:18:27 PM »

This would be no problem - but ask Google, what it thinks about hidden content.
Logged

Burn, baby, burn!
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #2 on: November 09, 2011, 01:30:31 PM »

Indeed technically no problem, and also no problem for Google. It's done all the time with jQuery toggle/visibility functions.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
noname8

Offline Offline

Posts: 75


« Reply #3 on: November 09, 2011, 09:59:58 PM »

This would be test to be used with extranet only - no seo needed, but superfast page load is needed

ok i think i know the jquery part, but how about the php part in the template to loop & echo all the content ?

Building the nav and making the [wblinks] to work will be a huge problem also
Logged
Bug

Offline Offline

Posts: 188


« Reply #4 on: November 10, 2011, 07:27:16 AM »

Idea:

Keep the page structure as you would do with a normal site, use showsection droplet as base idea to ask for the content, make the menu react with the section number that is used in showsection droplet.

Do not turn on sections so that pagenumbers and section numbers will have the same number, showmenu refers to page id and you need to refer to section id

It will be hell to alter the showmenu2 module but somehow you will have to change it to not go to another page but in stead show / hide sections or change the needed section number

Logged
noname8

Offline Offline

Posts: 75


« Reply #5 on: November 10, 2011, 06:32:20 PM »

Perhaps with jquery it would be easy to loop trough all the links in navbar and change thei behavior.
bind(click) swhowpagediv_id(...
So no need to fork php of showmenu2. Didn't even think of sections..that will be tricky also..
Logged
fischstäbchenbrenner

Offline Offline

Posts: 271



« Reply #6 on: November 11, 2011, 11:54:07 AM »

What you think about is what the old "Rooms"-Template does. All pages shown in one page. But vertical, not horizontal.
eg: http://www.catching-communications.at/

Logged

Burn, baby, burn!
Bug

Offline Offline

Posts: 188


« Reply #7 on: November 11, 2011, 09:14:05 PM »

I think I would start with something like http://www.twospy.com/galleriffic, I think you can put it <?php page_content; ?> into the divs and the thumbnails could be your menu, nice thing is that it can create Bookmarkeble urls so you can link straight to a single page..


This crazy idea keeps me thinking I would like to achieve this too...

Logged
Tez Oner

Offline Offline

Posts: 50



WWW
« Reply #8 on: November 21, 2011, 08:31:28 PM »

What about publishing in relative div-sections and show/hide em... been busy with it a while ago, this example includes 3 php files, but the divs can also contain "content()"..

http://tezoner.vanallerlei.com/load_include.php

Cheers,

Tez
Logged

Tez | vanAllerlei
--------------------------------
Media • Design • Strategy
Pages: [1]   Go Up
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!