Replace with CSS?

Hi all,
I have some text with HTML markup saved in a DB that I'd like to output. The saved text includes some <p> tags, but when outputting, I'd like to apply a style, so I used #replaceNoCase(MessageBody,"<p>","<p class="Copy">","all")#, but I get an invalid CFML construct error. I'm sure it's because of the quotes around "Copy".  Is there a way around this?
Thanks a lot!

Thanks, Dan.  I appreciate it very much!

Similar Messages

  • Replacing frames with css

    I have a site with a homepage using frames. Clicking on a
    link in the left frame brings up the requested document in the
    right frame (by using the target attribute of the anchor tag). If I
    try doing this with css - each frame will now be a separate div.
    How do I code the links in the lefthand div so that clicking will
    bring up requested content in the right side div?
    Thanks for any help.
    Ivan Gepner
    [email protected]

    Don't try this. Not only will you hurt yourself, but you'll
    have a showcase
    for why it's not a good idea to be at the bleeding edge of
    CSS when the
    browsers are well behind you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (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
    ==================
    "I.G." <[email protected]> wrote in message
    news:eh37e6$26h$[email protected]..
    >I have a site with a homepage using frames. Clicking on a
    link in the left
    > frame brings up the requested document in the right
    frame (by using the
    > target
    > attribute of the anchor tag). If I try doing this with
    css - each frame
    > will
    > now be a separate div. How do I code the links in the
    lefthand div so
    > that
    > clicking will bring up requested content in the right
    side div?
    >
    > Thanks for any help.
    >
    > Ivan Gepner
    > [email protected]
    >

  • Logo replaced with "No items found" after testing a form submission

    I'm quickly coming to the conclusion that Business Catalyst is written by the programmers, for the programmers, to be primarily used by the BC programmers to set up the initial web sites for end users and once everything is customized, the end user /site owner can then update product pages and other content, without knowing any code. IMHO, it was not written for Web designers who know how to build static web sites, but who also need added functionality.
    Moreover, I thought the propose of BC was to build a professional looking and properly performing interactive web sites without knowing any coding. Even with knowing HTML, CSS, and some Javascript, it is one confusing mess, that does not perform as advertised, IN MY OPINION. You not only have to thoroughly understand how BC does things, and I seriously doubt that a custom site could be effectively built without knowing programming, or at least a working knowledge of Javascript, which most web designers have not mastered. Javascript is NOT easy, but neither is Business Catalyst.
    Even the sample starter sites do not function smoothly, and the BC Manage site interface is NOT intuitive, so unless you want a web site that basically looks and functions just like one of the templates, you're out of luck. Maybe someone on this forum can explain how, and why, my header logo got 'replaced' with the words, "No items found"? All I did was attempt to set up a module form and then tested it. Next I was unable to log into the site with any accounts that I had set up as a User and/or member for testing purposes, which worked just fine before then.
    I have just spent the better part of the last two-three week trying to figure out how to use Business Catalyst and slightly modify one of the provided BC sites to meet my needs. No such luck. I am a long time Adobe customer and have spent thousands of dollars on Adobe Software over the last ten plus years, but BC is a LOOSER. I'm NOT a stupid person, and have designed some nice responsive HTML5 web sites, but Business Catalyst has thrown me for a loop, even though I have tried diligently to figure out how all the pieces fit and work together, to little avail.
    Why doesn't Adobe provide some programming help (for a reasonable programming fee) instead of forcing us to go with the independent BC programmers/site designers who do know how to make it work, but they charge the big bucks to do so? I had one BC site designer tell me that web sites cost $10,000 - $15,000. (and that was for a BC site) which I thought was quite unreasonable until you consider how few people truly know how to use BC well enough to customize a web site, and then you have to need a site very similar to the one already created. There in an inherent lack of simple functionality, and customization, for sites that are not retail product sites.
    Frankly, I am very disappointed, frustrated, and now looking for a programmer to build a straightforward interactive site for my modest needs. Who cares about all those reports if you can't get the site to function properly, and are unable to troubleshoot the problems when everything is hidden in content holders with no access, and no list of all the modules that are even being used on the site I was last trying to modify.  The Announcement module was not to be found anywhere, except in the code that somehow managed to switch out the site logo in the header with search results. Doubt if I could duplicate the problem if I tried.
    BC is too complex on the backend, and doesn't make much common sense on the front management end. It tries to be all things to all retail selling sites, but all those functions, bells & whistles aren't much good if a user can't get the site off the ground.
    At the very least, give us access to the all the modules uses on the sample sites (not al are available within the site management), the module names, and a brief description of what they do and how to access them when they are nowhere found in the module templates directory. And would someone PLEASE write some decent directions for using the management interface, instead of glibly showing how easy it is to do this or that, without any coding, but also without any real walk-throughs of exactly how to do something specific.
    My apology to EVERYONE on this forum for my venting and rant out of sheer frustration ( and deadlines that are not being met) and I do NOT fault the forum moderator for NOT POSTING my thoughts, but I do hope this message, written in utter frustration, is FORWARDED to someone at Adobe who needs to know the truth of the matter regarding Business Catalyst, from at least my own VERY BAD USER EXPERIENCE, thus far,  spent trying to get results creating a simple interactive web site using Business Catalyst.
    I'm guessing some of you are frustrated and struggling as well. I wish you the best and every success in using Business Catalyst. Typically I am patient, and will keep on trying... but only to a point, at which it's time for me to move on to plan C, because the real 'help' I need is with all the little stuff that doesn't work and tutorials are definitely lacking unless you have that same problem or are trying to duplicate what is being explained - I've tried BG Gurus videos, Lynda.com training, and other Youtube BC resources.
    Sincerely,
    Heidi Wurst

    the need for both a "testing" and "remote" server for the site and that the information in the 'add server form' needed to be correct.
    You do not need both, you only need the the server that you want to use. I have a test site that I only use locally, so that is the server that I have setup, thus no remote server.
    how many ftp addresses can I expect to have!
    Just one per site, the correct one.
    Gramps

  • Display multiple records with CSS

    PHP MySQL
    I have a MySQL table with several columns and multiple
    records... it is easy
    to display these records in a <table> using the repeat
    record server
    behavior applied to the <tr> that displays the records.
    I would like to do this with CSS and eleminate
    <table>'s
    My question is can this be done displaying the records in a
    <div> using the
    repeat record server behavior?
    Or is this just one of those things that a <table> is
    required?
    Jeff

    Displaying rows of data is actually the reason tables were
    originally
    invented. :)
    You need a table with the number of columns for your data and
    two rows. The
    first row is for the column headers. The second row is for
    the PHP
    placeholder that will be replaced with data. Apply the repeat
    region to
    this second row either for all rows or the number of rows you
    desire to
    display on one page .. in which case you would also use
    recordset paging.
    (previous, next)
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "Jeff" <[email protected]> wrote in message
    news:erindt$i70$[email protected]..
    > PHP MySQL
    > I have a MySQL table with several columns and multiple
    records... it is
    > easy to display these records in a <table> using
    the repeat record server
    > behavior applied to the <tr> that displays the
    records.
    >
    > I would like to do this with CSS and eleminate
    <table>'s
    > My question is can this be done displaying the records
    in a <div> using
    > the repeat record server behavior?
    > Or is this just one of those things that a <table>
    is required?
    >
    > Jeff
    >

  • Help with CSS modifications...

    Hi!
    Finally got this up online for temporary testing. Here are
    the items I'd like to modify...not sure how to tweak the code/css.
    1) for starters, the links on the left hand continously move
    down when I hit return in order to add more content on the page.
    I'd like for everything in the left hand panel to be completely
    static, and so the links fit into that transparency block within
    the background image. (they are in a table now, before I had them
    outside of a table, but I had a difficulty controlling them) When
    we correct these to move up, the contact phone #, etc, will move up
    where they should be positioned as well.
    2) if you click on one of the links, the remainder of the
    links all receive the 'visited' state visual; it's reading as one
    cohesive element. That should not be, as they are independent.
    3) I'm trying to control the "join our mailing list" to move
    up into the sign up box, and in turn, this will bring up my main
    paragraph closer to the top of this cell.
    As you will see, I'm attempting to control this with CSS as
    much as I can.
    Thank you for your help; I really appreciate it!
    www.fasttag.com/prestige-lane-testing-phase

    > 1) for starters, the links on the left hand continously
    move down when I
    > hit
    > return in order to add more content on the page. I'd
    like for everything
    > in the
    > left hand panel to be completely static, and so the
    links fit into that
    > transparency block within the background image. (they
    are in a table now,
    > before I had them outside of a table, but I had a
    difficulty controlling
    > them)
    > When we correct these to move up, the contact phone #,
    etc, will move up
    > where
    > they should be positioned as well.
    They are moving because a) they are in a table that is nested
    in a table
    cell, b) the table cell in which that table is nested has no
    vertical
    alignment specified, c) with no vertical alignment specified,
    you get the
    default, which is MIDDLE, and d) as the outer table grows in
    height, the
    middle point of the cell in which the navigation table is
    nested also
    migrates lower.
    The solution is to assign the CSS style vertical-align:top to
    td.navlinks.
    > 2) if you click on one of the links, the remainder of
    the links all
    > receive
    > the 'visited' state visual; it's reading as one cohesive
    element. That
    > should
    > not be, as they are independent.
    This is because they are all linking to the same target.
    Visit one, and all
    become visited.
    <tr>
    <td><a href="
    http://www.fasttag.com">FastTag</a></td>
    </tr>
    <tr>
    <td><a href="
    http://www.fasttag.com">Greenlight
    Keycard</a></td>
    </tr>
    <tr>
    <td><a href="
    http://www.fasttag.com">Pocket
    Concierge</a></td>
    </tr>
    <tr>
    <td><a href="
    http://www.fasttag.com">Other
    Hotel Products</a></td>
    > 3) I'm trying to control the "join our mailing list" to
    move up into the
    > sign
    > up box, and in turn, this will bring up my main
    paragraph closer to the
    > top of
    > this cell.
    The " " is not a layout tool. Don't use it as if it
    were -
    <h1
    class="signup">    SIGN
    UP!</h1>
    If you want that content spaced over from the left, use a
    padding-left style
    on the .signup class.
    Do not use background-attachment on that <h1> -
    .signup {
    height: 50px;
    width: 99px;
    border: 1px solid #C5C19D;
    margin-top: 20px;
    margin-left: 420px;
    margin-right: 20px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #591F00;
    font-size: 13px;
    background-image: url(images/signup-gradient.jpg);
    background-repeat: repeat-y;
    background-position: 10px;
    background-attachment: fixed;
    Replace your markup for that <h1> and <td> with
    this -
    <td width="546" height="261" valign="top"><h1
    class="signup"
    style="padding-left:10px;width:89px;">SIGN UP!<br>
    <span class="joinmailinglist"
    style="margin-left:0;">Join our
    <br>mailing list</span></h1>
    Finally, validate your page, and fix the errors. You have
    table heights,
    for example....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "r_tist" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi!
    >
    > Finally got this up online for temporary testing. Here
    are the items I'd
    > like
    > to modify...not sure how to tweak the code/css.
    >
    > 1) for starters, the links on the left hand continously
    move down when I
    > hit
    > return in order to add more content on the page. I'd
    like for everything
    > in the
    > left hand panel to be completely static, and so the
    links fit into that
    > transparency block within the background image. (they
    are in a table now,
    > before I had them outside of a table, but I had a
    difficulty controlling
    > them)
    > When we correct these to move up, the contact phone #,
    etc, will move up
    > where
    > they should be positioned as well.
    >
    > 2) if you click on one of the links, the remainder of
    the links all
    > receive
    > the 'visited' state visual; it's reading as one cohesive
    element. That
    > should
    > not be, as they are independent.
    >
    > 3) I'm trying to control the "join our mailing list" to
    move up into the
    > sign
    > up box, and in turn, this will bring up my main
    paragraph closer to the
    > top of
    > this cell.
    >
    > As you will see, I'm attempting to control this with CSS
    as much as I can.
    >
    > Thank you for your help; I really appreciate it!
    > www.fasttag.com/prestige-lane-testing-phase
    >
    >
    >

  • User name replaced with ,#,#,#,#

    Over the fall, we upgraded our sharepoint 2007 site to sharepoint 2010. We only updated the platform and back end though, we left it set up with the same 2007 sharepoint look and feel. Once we upgraded, we started to come across several problems, one of
    the more annoying ones is users with all but full admin permissions to sites getting locked out of pages they have access to and edit capabilities to. Sharepoint allows the user to edit a page but when they try to check it in, their username is replaced with
    ",#,#,#,#" and then they get denied access because no user named ",#,#,#,#" has access to our site. Has anyone else experienced this problem or has a suggestion of where to start looking
    to solve it? It happens on every page

    Hi,
    Let’s verify the following:
    Make sure that all the Master page, CSS files, any other files that are required are published. If there are files that are required in the master pages and are not published, users will get access denied even if they have full control on the site.
    Provide global read access to the master page library. Site actions > site settings > Master Page and page layouts > Library tab > Permissions. Add All authenticated users to READ ONLY. 
    Here is a similar post, refer to it:
    http://sharepoint.stackexchange.com/questions/60699/user-with-full-control-permission-is-getting-access-denied-message
    whether the issue persists in any other site collection within the same web application. Add a new "User Policy" for the web application that allows "All Authenticated Users" the permissions "Full Read" on the desired zone.
    http://underthehood.ironworks.com/2011/05/sharepoint-2010-access-denied-for-users-that-have-full-control-on-the-site.html
    http://technet.microsoft.com/en-us/library/ff758656.aspx
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Problems with Photoshop CS2 I originally purchased this software several years ago. At time I was running Microsoft Windows XP. This computer recently was replaced with  a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few

    Problems with Photoshop CS2
    I originally purchased this software several years ago. At time I was running Microsoft Windows XP.
    This computer recently was replaced with a Dell running Windows 8.I reloaded my CS2 on this computer & it ran fine with a few exceptions as follows;
    when the software comes up initially I get a message that says “could not complete your request because of program error”. Hitting OK allows me to continue using the software .
    When I try to activate a function using CTLR or ALT keys I get this message “required application failed to load and the product cannot continue. Please reinstall the application”. This causes the application to abort.
    Reloading my CS2 continues to generate the same messages when I depress the CTLR or ALT keys.

    Your original copy is obsolete and Adobe is offering a free replacement you are entitled to. Download and use that and that should clear it up for you.
    https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml
    Download this copy of CS2 and use the serial number provided next to the download link.

  • When i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    when i go to sync my apps with my computer it tells me  ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?

    Regarding your broken, previously authorized computer, here's how that works:
    You would authorize your new computer -- maybe you've done that already.  Then you will have two computers authorized.  Apple allows you to have up to five computers authorized at any time.  If you get to five, you can then go to your account details in iTunes and remove all authorizations.
    Bear in mind this is not saying you can synch to more tham one library.  Razmee209 and gdgmacguy's comments above are correct.  But if Apple only allowed you to authorize one computer at a time, then having a broken computer would mean you could no longer use your Apple ID with iTunes.

  • Problem with CSS in page I have written [SOLVED]

    There is a php page I have created at work which works fine with Firefox 3.6.
    In one specific page Firefox 4 does not show correctly a table with CSS.
    I tried to remove the css and just have the table with no styling but the problem persists.
    the php file is this:
    <pre><nowiki><html>
    <head>
    <title>Pending Issues Close Case</title>
    <style type="text/css">
    #blinking {text-decoration: blink; text-align:left; color:#FF0000;}
    body {
    background-image:url('on2.jpg');
    background-repeat:no-repeat;
    background-position:700 50;
    background-attachment:fixed;
    #efms
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse:collapse;
    #efms td, #efms th
    font-size:1em;
    border:1px solid #98bf21;
    padding:3px 7px 2px 7px;
    #efms th
    font-size:1.1em;
    text-align:left;
    padding-top:5px;
    padding-bottom:4px;
    background-color:#A7C942;
    color:#ffffff;
    #efms tr.alt td
    color:#000000;
    background-color:#EAF2D3;
    </style>
    <link rel="stylesheet" type="text/css" media="all" href="jsDatePick_ltr.min.css" />
    <script type="text/javascript" src="jsDatePick.min.1.3.js"></script>
    <script type="text/javascript">
    window.onload = function(){
    new JsDatePick({
    useMode:2,
    target:"date_of_problem",
    dateFormat:"%Y-%m-%d"
    new JsDatePick({
    useMode:2,
    target:"closed_date",
    dateFormat:"%Y-%m-%d"
    function checkEmpty() {
    var date_of_problem = document.save_entries.date_of_problem.value;
    var hour_of_problem = document.save_entries.hour_of_problem.value;
    var min_of_problem = document.save_entries.min_of_problem.value;
    var reported_to = document.save_entries.reported_to.value;
    var problem_description = document.save_entries.problem_description.value;
    var close = document.save_entries.close.value;
    var closed_date = document.save_entries.closed_date.value;
    var closed_hour = document.save_entries.closed_hour.value;
    var closed_min = document.save_entries.closed_min.value;
    var ok = "true";
    var why = "";
    var ok2 = "true";
    var tmp1 = date_of_problem.split("-");
    var date1 = new Date(tmp1[0], tmp1[1], tmp1[2], hour_of_problem, min_of_problem);
    var tmp2 = closed_date.split("-");
    var date2 = new Date(tmp2[0], tmp2[1], tmp2[2], closed_hour, closed_min);
    if (date_of_problem.length == 0) {
    ok = "false";
    why += "Date of problem is empty\n";
    if (reported_to.length == 0) {
    ok = "false";
    why += "Reported to is empty\n";
    if (problem_description.length == 0) {
    ok = "false";
    why += "Problem description is empty\n";
    if (closed_date.length == 0 && close == "Yes") {
    ok = "false";
    why += "Closed date is empty\n";
    if (date2 < date1) {
    ok = "false";
    why +="Closed date cannot be earlier than problem date\n";
    if (ok == "true") {
    return true;
    else {
    alert(why);
    return false;
    </script>
    </head>
    <body>
    <?php
    session_start();
    if (!isset($_SESSION['pending_user'])){
    header("location:main_login.php");
    if ($_GET['entry'] == "" || $_GET['entry'] == NULL)
    header("location:view_entries.php");
    $id = $_GET['entry'];
    function get_entry($id) {
    $mysql_host = "localhost";
    $mysql_user = "portal";
    $mysql_pass = "portal";
    $db_name = "pending_issues";
    $entries_table = "entries";
    mysql_connect("$mysql_host", "$mysql_user", "$mysql_pass") or die("cannot connect to DB" . mysql_error());
    mysql_select_db("$db_name")or die("cannot select DB" . mysql_error());
    mysql_query("set names 'utf8'")or die("fook!" . mysql_error());
    $entry_query = "SELECT * FROM $entries_table WHERE id='$id'";
    $entry_data = mysql_query($entry_query) or die("Cannot execute query");
    $entry_row = mysql_fetch_array($entry_data) or die("Cannot fetch row");
    $date_of_problem = $entry_row['date_of_problem'];
    $time_of_problem = $entry_row['time_of_problem'];
    $hour_of_problem = strtok($time_of_problem, ":");
    $min_of_problem = strtok(":");
    $resp_technician =$entry_row['resp_technician'];
    $reported_to = $entry_row['reported_to'];
    $description = $entry_row['problem_description'];
    $closed_date = $entry_row['closed_date'];
    $closed_time = $entry_row['closed_time'];
    $closed_hour = strtok($closed_time, ":");
    $closed_min = strtok(":");
    $closed_by = $_SESSION['pending_user'];
    echo '<h2><font color="#A7C942">Welcome, ' . $_SESSION['pending_user'] . '</font></h2>';
    echo '<table id="efms">';
    echo '<tr class="alt">';
    echo '<td>';
    echo '<br><a href=index.php>Home</a><br><br>';
    echo '</td>';
    echo '<td>';
    echo '<br><a href=view_entries.php>View entries</a><br><br>';
    echo '</td>';
    echo '<td>';
    echo '<a align="center" href="logout.php">Log out</a><br>';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '<br>';
    echo '<form name="save_entries" action="save_entries.php" method="post" onSubmit="return checkEmpty();"';
    echo '<table id="efms">';
    echo '<tr>';
    echo '<th>';
    echo 'Problem date';
    echo '</th>';
    echo '<td>';
    echo '<input id="date_of_problem" name="date_of_problem" type="text" value="' . $date_of_problem . '">';
    echo '<input type="hidden" name="entry" value="' . $id . '">';
    echo '</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Problem time';
    echo '</th>';
    echo '<td>';
    //echo '<input name="time\_of\_problem" type="text" value="' . $time_of_problem . '">';
    echo_hour($hour_of_problem, "hour_of_problem");
    echo ":";
    echo_min($min_of_problem, "min_of_problem");
    echo '</td>';
    echo '</tr>';
    echo_reported_to($reported_to);
    echo '<tr>';
    echo '<th>';
    echo 'Problem description';
    echo '</th>';
    echo '<td>';
    echo '<textarea name="problem_description" rows="5" cols="40">' . $description . '</textarea>';
    echo '</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Closed date';
    echo '</th>';
    echo '<td>';
    echo '<input name="closed_date" id="closed_date" type="text" value="' . $closed_date . '">&nbsp;';
    echo 'Close case?&nbsp;';
    echo '<select name="close">';
    echo '<option>Yes</option>';
    echo '<option>No</option>';
    echo '</select>';
    echo '</td>';
    echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Closed time';
    echo '</th>';
    echo '<td>';
    echo_hour($closed_hour, "closed_hour");
    echo ":";
    echo_min($closed_min, "closed_min");
    echo '</td>';
    echo '</tr>';
    //~ echo '<tr>';
    //~ echo '<th>';
    //~ echo 'Closed by';
    //~ echo '</th>';
    //~ echo '<td>';
    //~ echo '<input id="resolve_date" name="resolve_date" type="text" value="' . $closed_by . '">';
    //~ echo '</td>';
    //~ echo '</tr>';
    echo '<tr>';
    echo '<th>';
    echo 'Submit';
    echo '</th>';
    echo '<td>';
    echo '<input name ="submit" type="submit">';
    echo '</td>';
    echo '</tr>';
    echo '</table>';
    echo '</form>';
    mysql_close();
    function echo_hour($hour, $name) {
    echo '<select name="' . $name . '">';
    for ($i = 0; $i < 24; $i++) {
    if ($i < 10)
    $temp_hour = "0" . $i;
    else
    $temp_hour = $i;
    if ($hour != $temp_hour)
    echo '<option>' . $temp_hour . '</option>';
    if ($hour == $temp_hour)
    echo '<option selected>' . $temp_hour . '</option>';
    echo '</select>';
    function echo_min($min, $name) {
    echo '<select name="' . $name . '">';
    for ($i = 0; $i < 60; $i++) {
    if ($i < 10)
    $temp_min = "0" . $i;
    else
    $temp_min = $i;
    if ($min != $temp_min)
    echo '<option>' . $temp_min . '</option>';
    if ($min == $temp_min)
    echo '<option selected>' . $temp_min . '</option>';
    echo '</select>';
    function echo_reported_to($reported_to) {
    echo '<tr>';
    echo '<th>';
    echo 'Reported to';
    echo '</th>';
    echo '<td>';
    //echo '<select name="reported_to" value="' . $reported_to . '">';
    echo '<select name="reported_to">';
    if ($reported_to == "IT") {
    echo '<option selected>IT</option>';
    echo '<option>NetEng</option>';
    echo '<option>VTT</option>';
    echo '<option>NOC</option>';
    if ($reported_to == "NetEng") {
    echo '<option>IT</option>';
    echo '<option selected>NetEng</option>';
    echo '<option>VTT</option>';
    echo '<option>NOC</option>';
    if ($reported_to == "VTT") {
    echo '<option>IT</option>';
    echo '<option>NetEng</option>';
    echo '<option selected>VTT</option>';
    echo '<option>NOC</option>';
    if ($reported_to == "NOC") {
    echo '<option>IT</option>';
    echo '<option>NetEng</option>';
    echo '<option>VTT</option>';
    echo '<option selected>NOC</option>';
    echo '</select>';
    echo '</td>';
    echo '</tr>';
    get_entry($id);
    ?>
    </body>
    </html>
    </nowiki></pre>
    <br />
    The problem is for the table in line 188.
    it should look like this:
    http://img571.imageshack.us/img571/5183/shouldlooklike.png
    but instead it looks like this:
    http://img860.imageshack.us/img860/323/lookslikethis.png
    The same problem appears in IE.
    Thank you,

    Please do not consider my previous post as I found out that it was a coding error, a forgotten ">"
    Thank you.

  • Problem with css processing in Firefox8 on Win7.

    Hi guys. I have a problem with css processing in Firefox8 on Win7. I need to make div which width and left css properties should be dynamically changed. Inside this div i have an swf object. When i change width and left css styles for my div, it jumps on the page, but other browsers render that well. What can you suggest to fix this problem? Thanks

    A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • HT4436 I have now downloaded all of my CD's to my itunes library and have since only purchased new music using itunes Store.  This itunes library is stored on an old Dell Desktop that I am getting ready to replace with an iMac; how can I move the music? 8

    I have now downloaded all of my CD's to my itunes library and have since only purchased new music using itunes Store.  This itunes library is stored on an old Dell Desktop that I am getting ready to replace with an iMac; how can I move the music? 86GB
    Is the music I downloaded from my CD's already in the iCloud or only the music I purchased on itunes?

    This might help: http://www.macworld.com/article/1146958/move_itunes_windows_mac.html.

  • Find and replace with multiple files and with a watch folder

    I am trying to create a watch folder that uses red_menace script to:
    1. Have a folder that receives multiple xml files that run the script one by one.
    2. then move the files to an output folder.
    I tried modifying the set TheFIle to choose file -- the original text file to:
    with multiple selections allowed
    But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
    Thanks!
    The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
    Here's what i got so far:
    on open
    set TheFIle to choose file -- the original text file
    set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
    set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
    set TheText to read TheFIle -- get the text to edit
    set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
    Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
    set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
    ", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>—", " —", "
    Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end open
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is missing value then set TheExtension to ""
    set TheName to text 1 thru -((count TheExtension) + 2) of TheName
    set NewName to TheName & "." & TheExtension
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & "." & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
    for each of the items in SomeItems, a line containing it's text is placed in the edit box
    the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to replaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    return SomeText
    end replaceText
    Message was edited by: gamebreakers

    When you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
    I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- search and replace multiple items applet/droplet/folder action
    -- the terms to replace - edit as needed
    property EditableItems : {¬
    "one", ¬
    "two", ¬
    "three", ¬
    "four", ¬
    "five", ¬
    "six", ¬
    "seven", ¬
    "eight", ¬
    "nine", ¬
    "ten", ¬
    "eleven", ¬
    "twelve", ¬
    "thirteen", ¬
    "fourteen", ¬
    "fifteen", ¬
    "sixteen", ¬
    "seventeen", ¬
    "eighteen", ¬
    "nineteen", ¬
    "twenty"}
    -- the folder for the output file(s) - change as needed
    property TheFolder : (path to desktop)
    property LastEditItems : EditableItems
    on run
    the applet/droplet was double-clicked
    open (choose file with multiple selections allowed)
    end run
    on open TheItems
    items were dropped onto the applet/droplet
    parameters - TheItems [list]: a list of the items (aliases) dropped
    returns nothing
    repeat with AnItem in TheItems
    ReplaceMultipleItems from AnItem
    end repeat
    end open
    on adding folder items to this_folder after receiving these_items
    folder action - items were added to a folder
    parameters - this_folder [alias]: the folder added to
    these_items [list]: a list if items (aliases) added
    returns nothing
    repeat with AnItem in these_items
    ReplaceMultipleItems from AnItem
    end repeat
    end adding folder items to
    to ReplaceMultipleItems from SomeFile
    replace multiple text items in SomeFile
    parameters - SomeFile [alias]: the file to replace items in
    returns nothing
    set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
    set TheText to read SomeFile -- get the text to edit
    set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
    set LastEditItems to Originals
    set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end ReplaceMultipleItems
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is in {missing value, ""} then
    set TheExtension to ""
    else
    set TheExtension to "." & TheExtension
    end if
    set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
    set TheName to text 1 thru -((count TheExtension) + 1) of TheName
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
      for each of the items in SomeItems, a line containing it's text is placed in the edit box
        the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to ReplaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as text
    if SomeText contains OldItem then
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    try
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    on error ErrorMessage number ErrorNumber -- oops
    set AppleScript's text item delimiters to TempTID
    error ErrorMessage number ErrorNumber
    end try
    end if
    return SomeText
    end ReplaceText
    to ChangeCase of SomeText to CaseType
    changes the case or capitalization of SomeText to the specified CaseType using Python
    parameters - SomeText [text]: the text to change
    CaseType [text]: the type of case desired:
    "upper" = all uppercase text
    "lower" = all lowercase text
    "title" = uppercase character at start of each word, otherwise lowercase
    "capitalize" = capitalize the first character of the text, otherwise lowercase
    returns [text]: the changed text 
    set SomeText to SomeText as text
    if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
    return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
    end ChangeCase
    </pre>
    Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
    Message was edited by: red_menace

  • What happened to my mail access on home page, it just vanishes after stat-up and is replaced with ads ? How do I fix it?

    It's always worked until this past week, nothing changed by user that I know of. I've checked pop-up blocker to no avail. Using Avira free security, it updated a few days ago, did a restore after it was updated to before the update, didn't help either. Want let me open Hughes net mail in Fire Fox at all. Can access it from Explorer but hat Explorer, it's slower than Fire Fox. Any help is appreciated as I've run out of ideas.

    I am not entirely sure what problems you are reporting.
    # Home Page are you able to set that as required or not ?
    #Webmail
    #* I am not clear, are you able to open that with Firefox ?
    #* I understand you are able to open it with Internet Explorer
    Are you saying that your webmail is set as one of your home pages, but that it is replaced with something else ?
    Do other websites and searches work ok in Firefox or are you also having other problems in Firefox use ?

  • I have a power pc (g5) computer that I will soon be replacing with a current i5 or i7 mini. How do I transfer the Time Machine files from the internal hard drive on the G5 to an external drive that I will later use with the Mini?

    I have a Power PC G5 computer that I will soon be replacing with a current i5 or i7 Mini. How do I transfer the Time Machine files from the internal hard drive on the G5 to an external drive that I will later use with the Mini?

    Hi, likely the easiest is to just poll the drive & get something like this...
    Get MacScan...
    http://www.apple.com/downloads/macosx/networking_security/macscan.html
    http://eshop.macsales.com/item/NewerTech/U3NVSPATA/
    But if you have a good external drive already, just clone it.
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/

  • If my battery life is getting lower  and lower, can I get my iPod replaced with a new one with the guaranty?

    Bought my iPod 10months ago, now the battery life is really bad!!! I need to know if I can get it replaced with the guaranty! Thanks :)

    I'd make an appointment at your local apple store, have them check it out and see what they say. If they determine that it's a manufacturer's defect then they may replace it.
    In case they do, I'd do a full sync and backup before you take it in.

Maybe you are looking for

  • How to download a file from the internet using terminal

    how to download a file from the internet using terminal does any one know how to download afile from the internet using the Terminal application?

  • Windows 7 partition (bootcamp) missing after Yosemite update

    Hi, I just recently updated my OS to Yosemite and now my windows partition is missing. I saw LonerT was helping others with a similar problem and was hoping if I could get some help as well since I am very bad with computers. As for the command outpu

  • WL 10 Upgrade Class Cast Exception

    Hi, we are upgrading from WL 8.1 to 10.3 and are recieving the following exception when invoking the test of our web service. Any ideas? ...Ed java.lang.ClassCastException: weblogic.xml.saaj.DetailImpl cannot be cast to weblogic.xml.xmlnode.XMLNode <

  • OLAP Analysis Count Distinct?

    If this query is better suited to the OLAP forum, please let me know. I am creating an Enrollment cube that has a dimension of Student with a Student_ID attribute. The fact table contains a measure column called Students, with each record having a va

  • IPlanet web server crash 6.0SP5

    Hi all, I am getting the following errors in iPlanet web server Platform details: Sun solaris, SPARC, 8, iPlanet 6.0 SP5 Pls let me know how to fix this porblem Error details Error 1: catastrophe ( 7455): Server crash detected (signal SIGSEGV) info (