HighDots Forums  

Dynamic Resizing of Cells or "Hide Cell?"

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Dynamic Resizing of Cells or "Hide Cell?" in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JustMeDavid
 
Posts: n/a

Default Dynamic Resizing of Cells or "Hide Cell?" - 07-08-2004 , 09:30 AM






Hi

I have 2 cells for a news section on a web page.
Cell 1 is to hold an Image
Cell 2 is to hold text

Using Dreamweaver MX 2004 php <> MySql
in the database we have the text and maybe a path to the image, maybe not.

So if there is an Image, I want to load the Image into Cell 1 and database
text into Cell 2 textField
If not I want the place where the Image should be (Cell 1) to hold the cell 2
News Story.

Anyone help with pointing me to a tutorial??

I am a novice in Dreamweaver and it is for a non comercial site (Daughters
soccer club)

Regards
David



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Dynamic Resizing of Cells or "Hide Cell?" - 07-08-2004 , 09:57 AM






That will give your page a raggedy appearance though, no?

Why not do your code like this (shown in embarrassingly crude pseudo-code) -

<tr>
<? if no image then write ?><td colspan="2"><? your news feed here ?></td>
<? else ?><td><img src="<? source ?>"...></td><td><? your news feed here
?></td><? end if ?>
</tr>

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"JustMeDavid" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi

I have 2 cells for a news section on a web page.
Cell 1 is to hold an Image
Cell 2 is to hold text

Using Dreamweaver MX 2004 php <> MySql
in the database we have the text and maybe a path to the image, maybe
not.

So if there is an Image, I want to load the Image into Cell 1 and
database
text into Cell 2 textField
If not I want the place where the Image should be (Cell 1) to hold the
cell 2
News Story.

Anyone help with pointing me to a tutorial??

I am a novice in Dreamweaver and it is for a non comercial site
(Daughters
soccer club)

Regards
David





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.