Dreamweaver design issue

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > Scripts and Online Services

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 30th, 2007, 18:37
New Member
Join Date: Mar 2007
Location: Los Angeles
Age: 38
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote

  #2 (permalink)  
Old Mar 30th, 2007, 19:18
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #3 (permalink)  
Old Mar 30th, 2007, 19:27
New Member
Join Date: Mar 2007
Location: Los Angeles
Age: 38
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.

Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>BlowinSmoke.net</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>

<body>
<div id="Site" style="position:absolute; left:96px; top:50px; width:701px; height:802px; z-index:1" ><img src="images/site_header_2.gif" width="795" height="183"><img src="images/left_edge.gif" width="200" height="621"></div>
<div id="Menu" style="position:absolute; left:126px; top:260px; width:141px; height:383px; z-index:2"><a href="http://www.blowinsmoke.net/cgi-bin/blowin/YaBB.pl"><img src="images/forum_button.gif" width="144" height="27" border="0"></a><img src="images/cigarreview_button.gif" width="144" height="27"><img src="images/sotm_button.gif" width="144" height="27"><img src="images/botm_button.gif" width="144" height="27"><img src="images/fooddrink_button.gif" width="144" height="27"><img src="images/store_button.gif" width="144" height="27"></div>
<div id="Footer" style="position:absolute; left:97px; top:855px; width:794px; height:26px; z-index:3"></div>
<div id="MainWindow" style="position:absolute; left:296px; top:233px; width:594px; height:620px; z-index:4"></div>
</body>
</html>
I want to have the button links in div layer Menu to show up in the <div layer MainWindow

I hope that made sense.
Reply With Quote
  #4 (permalink)  
Old Mar 30th, 2007, 19:47
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5 (permalink)  
Old Apr 1st, 2007, 18:58
Up'n'Coming Member
Join Date: Nov 2006
Location: Orem, Utah
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
Reply

Tags
dreamweaver

Thread Tools

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

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


All times are GMT. The time now is 03:07.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43