HighDots Forums  

Dynamically Applying styles

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Dynamically Applying styles in the Macromedia Dreamweaver forum.



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

Default Dynamically Applying styles - 11-18-2004 , 07:49 AM






I have a website where people can add the contact details and a description of
their company. I would like to allow them to format these entries, i.e. make
the text bold, add a background colour etc. Once they have submitted their
entry, I would like them to see their entry on a new page. Ideally they would
then be able to click BOLD, ITALIC, BOXED, BACKGROUND COLOUR etc, and their
entry would re-format. I am using PHP. Can it be done???


Reply With Quote
  #2  
Old   
Kramerica Industries
 
Posts: n/a

Default Re: Dynamically Applying styles - 11-18-2004 , 09:00 AM






You can use PHP Switch/Case and Include based on a query string.

Reply With Quote
  #3  
Old   
Kramerica Industries
 
Posts: n/a

Default Re: Dynamically Applying styles - 11-18-2004 , 09:08 AM



Sorry. Misread your question... Presuming now that you are storing these
different formats in a DB along with the company info, you can definately write
the style info dynamically with PHP, although my prior response will only help
you to include different predefined style sheets.


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

Default Re: Dynamically Applying styles - 11-18-2004 , 09:47 AM



You can write the style dynamically with any server scripting.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================

"Kramerica Industries" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry. Misread your question... Presuming now that you are storing these
different formats in a DB along with the company info, you can definately
write
the style info dynamically with PHP, although my prior response will only
help
you to include different predefined style sheets.




Reply With Quote
  #5  
Old   
Kramerica Industries
 
Posts: n/a

Default Re: Dynamically Applying styles - 11-18-2004 , 10:57 AM



Murray, That's true, but I was answering tommytipper's question - ' I am using PHP. Can it be done??? '

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

Default Re: Dynamically Applying styles - 11-18-2004 , 11:07 AM



Ahh - sorry for the bother then....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================

"Kramerica Industries" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray, That's true, but I was answering tommytipper's question - ' I am
using PHP. Can it be done??? '



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.