Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 01:10
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Recent Tutorial Support
| |-+  Flash GuestBook Support (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis)
| | |-+  text on most recent guest book entry
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: text on most recent guest book entry  (Read 2900 times)
timmy g
Server what's that
*
Posts: 2


Flash-db Rules


View Profile WWW Email
« on: 01/23/02, 21:25 »

firstly, great guestbook flash-db.

what i was wondering though is how to change the text of the most recent entry. if you look at the most recent, you will see that "Name:" and "Email:" are in a regular font (as opposed to the rest of the entries which are bold), and the first 4 lines of this entry are not in italic. it is not terribly important, but its just for look if ya know what i mean  Wink

cheers...

timmy g
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« Reply #1 on: 01/23/02, 21:50 »

Ok - I think I have that problem fixed.  It was just an error with me writing correct html.  You will have to clear your current  GuestBook.txt file for this to work as all entries will have to be new:

Then replace the line that starts with $Input in the GuestBook.php file with this one:

$Input = "Name: <b>$Name</b><br>Email: <b><u><a href=\"mailto:$Email\">$Email</a></u></b><br>Website: <b><u><a href=\"http://$Website\" target=\"_blank\">$Website</a></u></b><br>Comments: <b>$Comments</b><br><i><font size=\"-1\">Date: $Today</font></i><br><br>.:::.";

Some things to notice.  Before I had the ordering of the <b> (bold) tags slightly off.  It was something like this for example:  <b><u><a href=\"mailto:$Email\">$Email</a></b></u>  - Notice how the </u> tag was out of order and it should be:
<b><u><a href=\"mailto:$Email\">$Email</a></u></b>

also I added a closing </i> tag after the last line - which was not their previously.  This stops the text from being Italic.  That was a mistake - The other Ordered part thing is Flash just being Picky as it would not have made a difference if it was an html file.
Logged

-Jeff.
timmy g
Server what's that
*
Posts: 2


Flash-db Rules


View Profile WWW Email
« Reply #2 on: 01/29/02, 08:17 »

thankyou very much for your help, it looks much better now...

cheers, timmy g
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!