| |||||||
| General Discussion Post, chat, or discuss topics related to science fiction, 3D graphics, or something close to this. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| SFM Guru | Website Help.. Hey all, I know this is not the correct forum to ask, but I hope here to find a answer. I going to renew my site and I want to make several tables in my site. I want to have one page with all the info "home , News, Portfolio, etc,..." But when I click on Portfolio for example I will be loaded in the same window or page where previously home or news was standing... without reloading the menu's, header, etc,... Hope you understand me asking.... A image below shows more (I hope) of what I mean... Thanks, Greetz, Novak |
| | |
| | |
| | #3 (permalink) |
| SFM Guru | Well, I don't wanna use Frames Or Iframes... Ajax?? What the hell is that again.. ![]() Is that PhP??? Or Javascript.... ??? Oh boy the times are going to fast for me... Work, Work, And not have the time to learn something new.. Well Tell me more about Ajax .js please I have 3 days vacation ... So I think I have some time...(girlfriend yelling on background )Greetz, Novak |
| Last edited by Novak; 06-24-2008 at 09:29 PM. | |
| | |
| | #4 (permalink) |
| SFM Obsessed Realname: Michael Join Date: May 2006 Location: Regensburg, Germany Age: 24
Posts: 1,427
Downloads: 1 Uploads: 0 | Either use old-school PHP/Coldfusion/JSP/whatever and create the navigation with re-usable header() and footer() methods or use Javascript/AJAX and replace the innerHTML of a <div> tag (downside: no navigation for people who have deactivated JS). PS: You´ve used it lots of times without even realizing ( Ajax (programming - Wikipedia, the free encyclopedia) ). |
| ---------------------------------------------------------------------- Somebody blow something up, I'm in a really bad mood. Thanks in advance. Current project: Star Trek - Odyssey | |
| | |
| | #5 (permalink) |
| SFM Obsessed Realname: Nick Join Date: Jun 2006 Location: UK
Posts: 1,971
Downloads: 0 Uploads: 0 | You could dig out a function that does a document.whatever reference using onmouseup(), though you will need to look into how to avoid precaching if you want lots of images to appear in the changing area. Something like but with <A> or <img> instead of a button. You could change it to an image or use include files to make updates easier <html> <head> <script type="text/javascript"> function ChangeText() { document.getElementById("p1").innerHTML="New text!"; } </script> </head> <body> <p id="p1">Hello world!</p> <input type="button" onclick="ChangeText()" value="Click me to change text above"> </body> </html> (code from HTML DOM Using the DOM) |
| unofficial speed modelling challenge #1 - Communication devices My random WIP thread which includes some hints and tips on modelling which _may_ be useful for the link above...! | |
| | |
| | #8 (permalink) |
| SFM Obsessed Realname: Nick Join Date: Jun 2006 Location: UK
Posts: 1,971
Downloads: 0 Uploads: 0 | Flash would require some scripting to be written in addition to creating the visual look, so it wouldn't be easier and would probably take a lot more time. Also, not everyone uses Flash or a Flash capable browser, so you would be limiting your audience unless you created a non-Flash version of the site, effectively doubling the work |
| unofficial speed modelling challenge #1 - Communication devices My random WIP thread which includes some hints and tips on modelling which _may_ be useful for the link above...! | |
| | |
| | #9 (permalink) |
| SFM Guru Realname: Adrian Join Date: May 2006 Location: So Cal Age: 29
Posts: 920
Downloads: 1 Uploads: 0 | I hate flash sites. (Just my personal feelings, no offense intended!) Novak, look around dynamic drive. (The script that links to is probably a good place to start, it could be used as a nav system easy enough.) |
| I design your custom anything * Sea Scout Ship Changing Tides How much wood would a woodchuck chuck if a woodchuck was Chuck Norris? All of it. Wings3D +Kerkythea ~ WIPs! cellphone updated 4/18/08 1701-D/01 Calypso -updated 1/6/08 | |
| | |