This is a discussion on "Dreamweaver design issue" within the Scripts and Online Services section. This forum, and the thread "Dreamweaver design issue are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Dreamweaver design issue
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Dreamweaver design issue
Hello,
I am working on a site for a forum I run and I am using dreamweaver. I am currently working on the home and have come to a roadblock. I have created the layout and put in a menu bar that works (well at least one link does so far). however to the right of the menu bar is the area that I want all the data to show up. Example when I click on a button on the left I want only the information in the main panel to change only. Could someone take a look at it and tell me what they think I need to do to get this to work? here is the link to the page: http://www.blowinsmoke.net/test/ Thanks in adance. BadFish |
|
|
|
|||
|
Re: Dreamweaver design issue
Not sure what you mean. If you mean that you just want part of the page to update, rather than reloading the whole page, then you could make an asynchronous request to a database which will mean that only part of the page will load up, or reload, rather than the whole thing. This can be complex.
However, you could just use some simple php (or other server-side code) and create what is basically an html template and just load the maincontent in from a database. However this will reload the side bar etc. but those images and the css should be cached by the browser so it makes no odds really. I don't think you should use ajax for that sort of thing though. Better with php or the like. Simpler too. There are lot of other methods too. JS would do it just hiding and showing content. I'd load the content from a database if I were you though. Pete. |
|
|||
|
Re: Dreamweaver design issue
thanks for the reply,
I guess what I mean is the I only want information (webpages) to show up in the window that I have created sorta like when you have frames and you can tell it that you want the pages to show up in a target window. except that I dont have frames, I just used <div layers, I'm not even sure it will work.
I hope that made sense. |
|
|||
|
Re: Dreamweaver design issue
You see the problem is that with frames the different frames essentially act like two (or more) browsers that just talk to each other. Without frames (which is good) it is just one page and you can only update a portion of a page using a technology like AJAX which can be complex as I said before.
Your best bet is to use a server side technology (go with php - wide support and lotos of tutorials/info) and that means you have page like the one you've got and can then load info/content into that div or whatever. This will reload the sidebar but like i said it will get cached anyway so it shouldn't slow thing too much. I believe the idea is, you send a query to a database and extract data from it. This is then placed into the page (all dynamically and instantly). Unfortunately i'm the wrong guy for any server-side development questions so hopefully someone with more knowledge than me on the subject can help you out. Pete. |
|
|||
|
Re: Dreamweaver design issue
The best and fastest way to implememnt ajax is probably ruby on rails, but it doesn't have the support like php does and so it may take longer learn how to do it initially.
|
![]() |
| Tags |
| dreamweaver |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| web design issue | dayaki007 | Website Planning | 9 | Jun 17th, 2008 21:41 |
| HTML design issue? | tybrown | Web Page Design | 4 | May 4th, 2008 00:55 |
| [SOLVED] Firefox Display Issue with my CSS design | winnard2007 | Web Page Design | 5 | Nov 5th, 2007 15:20 |
| New to web design - image issue | peterma | Web Page Design | 23 | Dec 17th, 2006 22:12 |
| Dreamweaver Image Issue | rjcube | Web Page Design | 4 | Aug 8th, 2006 10:07 |