Auto centering a div in a table? form shaped box?

I am redesigning the look of my site. I can't get the div containing the player/title of the film and the thumbs below for Automatic centering of the table.

http://toddheymandirector.com/testhtml/index_test5_22spots2.html

If you stretch your browser window until the film is at the center of the canvas to rounded corners, you will see what I want to be like him.

any ideas?

also when I converted the page into a table, the form for the projection room area lost its formatting even if the code is still the same...

See the original page http://toddheymandirector.com/spots/ and below

formbox.tiff

Absolute positioning of divs is to kill your layout.

Try this as a starting point:

http://ALT-Web.com/templates/CSS2-centered-page.shtml

Nancy O.
ALT-Web Design & Publishing
Web | Graphics |  Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB

Tags: Dreamweaver

Similar Questions

  • Auto generation of serial number in table form

    Hi all

    I need to implement number line concept as in the Oracle Applications in my Apex a table

    (IE):

    If I create 3 files in tabular form, it should appear as shown below:

    Example
    Line number
    1Sample1
    2Example2

    line number must be a number that is automatically generated and must be a database column (ie), we need to show as text (saves the State) column in the form of tables since it is not editable by the user.

    "In case I have delete a record, it must be as shown below.

    Example
    Line number
    1Example2

    (IE) but I deleted the first record it should automatically change the line number of the second record to 1.

    and if I update the tabular presentation by adding another line, then it should appear as shown below:

    Example
    Line number
    1Example2
    2Sample3

    This functionality is achievable in apex? can someone help me?

    I use APEX 4.2.2.00.11 version.

    Thank you and best regards,

    Madonna

    Hey Madonna,

    ".t20Report" is a cass which refers to your report, I guess. Since you only have a single report, the index will be never greater than 1.

    What you want to do is to look at each line of the table in this report and to count the index of each line:

    $('.t20Report_tbody_tr').each (function () {}

    var i = $(this) .index () + 1 //javscript index is 0, sql is 1

    $(this) .find ('td [headers = "ORDNO"] input') .val (i)

    })

  • How can I recover file in table form in a modal window with the id of the request.

    Dear all,

    I use Apex 4.2 worm.

    I've created classic report with 5 columns and add additional column with the name "ADD COMPONENT" link in classic report.

    I call in a table in a modal window, click on link add COMPONENT classic report. .

    Modal window is popup when I click on the link add COMPONENTS , but it does not have any record of respective "Reservation_id and Res_line_id" I have place in link add COMPONENT report Classic.

    How can I view respective folder of reservation_id and res_line_id in table form in the modal window.

    I create in my account. You can view using

    Workspace: APEX_ISSUE

    User:               [email protected]

    Password: kaushik1@34


    Application 71690 - questions

    Page not 13

    Tab: In the form of modal window.

    Thank you

    Hi Maxence,

    CORINE wrote:

    It is wounderfull but I use the Apex 4.2 worm. There is no dialogue option and page mode.

    So how can I do that in Apex 4.2 worm.

    Check this old similar thread that runs in 4.2 APEX where I explained step by step: How to extract the values inside the jquery element dialogue modal rigion

    Also check the options of the iframe for your application sholud be set to 'Allow' or ' Allow from same origin.

    Edit Application Properties-> security-> the browser-> Embed security Connectionwithsuchprocedures-> is set to 'Allow' or 'Allow same origin'

    Hope this helps you,

    Kind regards

    Jitendra

  • JHeadstart - how to configure the form to be modal window in the style of table-form available?

    JHeadstart release 11.1.2 Relase

    When you use the Application JHeadstart Editor, I chose "table-form" style of layout for the field.

    Issue. When the field editing either way, by clicking on the edit button, which will be the user to the form, is it possible to have the form opens in a modal window?  If Yes, where and how configure this option?

    Summary: currently, the flow is as follows: field displays in a table.  The user clicks on the button Edit and screen refreshes the field in a form.  What I want is to have the form to be displayed as a modal window with the table in the background.

    Thank you.


    I think you could do this with 2 different versions of the JHS group.  A configured as 'table' and set up the other as a 'form '.  Then, add a groupLink item in the table to open the form in a modal popup.  (you might even be able to link the group to itself, but then you will need to do some adaptations to prevent it to generate the default table-form link)

  • Refresh table-form query on table only for pages in .jsff

    I have a group being generated as a presentation of table form. I would like for the page of the table to always refresh, and submit the form to refresh page after.
    I saw a thread about how to do this on a .jspx page: Refresh table-form query on table only

    Unfortunately, this does not work for me because I use the .jsff pages and they do not have access to the facesContext. Does anyone know how to do this for a .jsff page?

    Thank you
    Michelle

    Michelle,

    The taskflow 11 ADF in the equivalent of the region of this expression would be

    #{jhsPageChanged and controllerContext.currentViewPort.viewId=='/MyGroupTaskFlow/MyGroupTable'}

    Unfortunately, this currently does not work because there is an error in the JhsNavigationHandlerImpl class we're going to fix in the next release.
    You can apply a work around by creating a subclass of JhsNavigationHandler and replace as follows:

    ' public Sub handleNavigation (FacesContext facesContext, string action,
    The string result)
    {
    String oldPageFragmentId = ControllerContext.getInstance () .getCurrentViewPort () .getViewId ();
    super.handleNavigation (facesContext, action, result);
    String newPageFragmentId = ControllerContext.getInstance () .getCurrentViewPort () .getViewId ();
    If (! oldPageFragmentId.equals (newPageFragmentId))
    {
    JsfUtils.storeOnRequest (JHS_PAGE_CHANGED, Boolean.TRUE);
    }
    }

    To use your subclass, create a custom template for the facesConfig.vm and modify the navigation Manager to use your subclass.

    Steven Davelaar,
    JHeadstart team.

  • ScrollBar in table form

    Is it possible to put the region in a table for a height/width set with a vertical scroll bar, allowing users to scroll the rows if several lines appear that what is permitted for the height?

    If this is not possible, is it possible to have a region move with the page? For example, I have 2 regions on the page (display in 2 columns). A region is an updated report which shows 25 rows of data in a spreadsheet pre-filled the other region is a region which list availability that users can use to help determine the data for information entry in region 1. The tabular presentation requires scrolling to display all records if then the user loses sight of the valuable information contained in region 2.

    Any help would be appreciated.

    Thank you!

    Hello

    Very quick and dirty will be added to your presentation tabular region header somethinglike

    and at the foot of the region

adjust the style width and height to your needs

But as table form is the same as classic report, you can use the method for example from this post
Scroll to report but I want the column headings to stay where they are

And if you look in the forum there is same more friendly messages

BR, JAri

Published by: jarola November 4, 2009 01:02

  • How can I send an auto-reply with the contents of the form to the sender?

    Hai!

    I am new to building websites, but I came a long way

    I made a form and I want to send an AutoReply with the content of the form (if it is not too hard) to the person who completed.

    What I did is in PHP (coding I copied in part by a person of the internet .)

    You can see the of to: http://vinddit.nl/vindditnu%20php%20version.php

    So far my PHP coding

    <? PHP

    Variables Set email

    $email_to = ' [email protected] ';

    $email_subject = "request - VINDDIT NU!"

    Set required fields

    $required_fields = array('Voornaam','email','Achternaam','Plaats');

    Set error messages

    $error_messages = array)

    "Chairwoman" = > "John yesterday uw Chairwoman in NL.

    'email' = > ' John yesterday een geldig e-mail adres in NL.

    "Achternaam" = > "John yesterday uw achternaam in NL.

    'Place' = > ' John yesterday uw spend in NL.

    );

    Status of form

    $form_complete = FALSE;

    Configure the validation table

    $validation = array();

    check form submission

    {if (!) Empty($_POST))}

    Clean up the POST table

    foreach ($_POST as $key = > $value) $_POST [$key] = remove_email_injection (trim ($value));

    Loop in the required fields and make sure that they fit our needs

    foreach ($required_fields as $field) {}

    the area has been submitted?

    If (! array_key_exists ($field, $_POST)) return ($validation, $field);

    check the information in the field?

    If ($_POST [$field] == ") return ($validation, $field);

    validate the e-mail address provided

    If ($field == 'email') if (! validate_email_address($_POST[$field])) return ($validation, $field);

    }

    result of the basic validation

    If (Count ($validation) == 0) {}

    Prepare our content string

    $email_content = "new website comment: '. '\n\n';"

    the simple e-mail content

    foreach ($_POST as $key = > $value) {}

    If ($key! = 'submit') $email_content. = $key. ': ' . $value. "\n";

    }

    If the success of the validation ok then send e-mail

    mail ($email_to, $email_subject, $email_content);

    Switch to update form

    $form_complete = TRUE;

    }

    }

    function validate_email_address ($email = FALSE) {}

    return (preg_match ('/ ^ [^@\s] + @([-a-z0-9]+\.) + [a - z] {2}, $/ i', $email))? TRUE: FALSE;

    }

    function remove_email_injection ($field = FALSE) {}

    return (str_replace (array ("\r", "\n", "0%", "% 0 d", "Content-Type:", "bcc:","to:","cc:"), ", $field));

    }

    ? >

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml "XML: lang ="fr"lang ="fr"> ".

    < head >

    form < title > < /title > request

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < link href = "style.css" rel = "stylesheet" type = "text/css" / > "

    " < script type =" text/javascript"src =" https://AJAX.googleapis.com/AJAX/libs/MooTools/1.3.0/Mootools-YUI-compressed.js "> < / script > .

    < script type = "text/javascript" src = "validation/validation.js" > < / script >

    < script type = "text/javascript" >

    var nameError = ' <? PHP echo $error_messages ['fullname'];? > ';

    var emailError = ' <? PHP echo $error_messages ['email'];? > ';

    var commentError = ' <? PHP echo $error_messages ['comment'];? > ';

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    < /script >

    < style type = "text/css" >

    < / style >

    < / head >

    < body onload = "MM_preloadImages('icons/x.png')" >

    < p > < / p >

    < p >

    <? PHP if($form_complete === FALSE)?: >

    < /p >

    < form action = "vindditnu php feed.php" method = "post" enctype = "application/x-www-formulaires-urlencoded" name = "Form" id = "commentsform" >

    < h1 > < img src = "icons/vinddit3.gif" width = "220" height = "80" alt = "logo" / > < / h1 > "

    < h1 > Wat u zoekt? : < / h1 >

    < table width = "690" border = "0" >

    < b >

    < td > in welke category zoekt u? * < table >

    < td colspan = "3" > < select name = "Ophalen_verzenden" id = "Ophalen_verzenden" >

    < option selected = "selected" > Meubels < / option >

    Witgoed < option > < / option >

    < option > Accessories Woon < / option >

    Kleding < option > < / option >

    Shoes < option > < / option >

    < option > Mode accessories < / option >

    Speelgoed < option > < / option >

    Boeken, / tɛjd.sχɾɪft /, papierwaren < option > < / option >

    < option > Overig < / option >

    < / select > < table >

    < /tr >

    < b >

    < td > Kleur: * < table >

    < td colspan = "3" > < select name = "using" id = "using" >

    Blauw < option > < / option >

    Rood < option > < / option >

    WIt < option > < / option >

    Zwart < option > < / option >

    Beige < option > < / option >

    Bruin < option > < / option >

    < option > Geel < / option >

    Oranje < option > < / option >

    Rood < option > < / option >

    < option > metal (great. REFLECTOR, Goud, Brons, Koper < / option >

    < option > Meerkleurig < / option >

    < option selected = "selected" > Overig / nadège < / option >

    < / select > < table >

    < /tr >

    < b >

    Merk < td >: < table >

    < td colspan = "3" > < input name = "Me" type = "text" id = "Merk5" value = "<?" PHP echo isset($_POST['Merk'])? $_POST ['Merk']: "?; ">" / >

    <? PHP if (in_array ('Brand', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['Merk'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    < td > design: < table >

    < td colspan = "3" > < input type = "text" name = "type" id = 'type' value = "<?" PHP echo isset($_POST['type'])? $_POST ['type']: "?; ">" / >

    <? PHP if (in_array ('type', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['type'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    Art < td >: < table >

    < td colspan = "3" > < input name = "Art" type = "text" id = "Case" value = "<?" PHP echo isset($_POST['Materiaal'])? $_POST ["art"]: "?; ">" / >

    <? PHP if (in_array ('Art', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ["art"];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    Maat < td >: < table >

    < td colspan = "3" > < input type = "text" name = "Maat" id = "Maat" value = "<?" PHP echo isset($_POST['Maat'])? $_POST ['Maat']: "?; ">" / >

    <? PHP if (in_array ('Maat', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['Maat'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    < td > condition *: < table >

    < td colspan = "3" > < select name = "condition" id = "condition" >

    Zo goed als nieuw < option > < / option >

    < option > Nieuw < / option >

    < option > Bebruikt < / option >

    < option selected = "selected" > Geen information < / option >

    < / select > < table >

    < /tr >

    < b >

    < td > collect/question: * < table >

    < td colspan = "3" > < select name = "collect" id = "collect" >

    Collect < option > < / option >

    < option > question < / option >

    < option > n < / option >

    < option > Geen information < / option >

    < / select > < table >

    < /tr >

    < b >

    < td > Prijs Min: < table >

    < td > < input name = "prijsmin" type = "text" id = "prijsmin" size = "10" value = "<?" PHP echo isset($_POST['prijsmin'])? $_POST ['prijsmin']: "?; ">" / >

    <? PHP if (in_array ('prijsmin', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ["prijsmin"];? > < / span >

    <? PHP endif;? > < table >

    Max de Prijs < td >: < table >

    < td > < input name = "Price" type = 'text' id = "Prijs" size = "10" value = "<?" PHP echo isset($_POST['Prijs'])? $_POST ['price']: "?; ">" / >

    <? PHP if (in_array ('Prijs', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['price'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < /table >

    < h1 > unstable: < / h1 >

    < table width = "690" border = "0" >

    < b >

    < td = "25" height > unstable: < table >

    < td rowspan = "2" > < textarea name = "Unstable" cols = "67" lines = '10' id = 'Unstable' > <? PHP echo isset($_POST['Opmerkingen'])? $_POST ['unstable']: "?; > < / textarea >

    <? PHP if (in_array ('Unstable', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages 'unstable'?; > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    < td = "78" height > < table >

    < /tr >

    < /table >

    < h1 > Uw Gegevens: < / h1 >

    < table width = "690" border = "0" >

    < b >

    < td > Chairwoman / Voorletters *: < table >

    < td > < input type = "text" name = "Chairwoman" id = "Chairwoman" class = "invul" value = "<?" PHP echo isset($_POST['Voornaam'])? $_POST ['Chairwoman"]:"?; ">" / >

    <? PHP if (in_array ('Chairwoman', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ["Chairwoman"];? > < / span >

    <? PHP endif;? > < table >

    < td > Achternaam: * < table >

    < td > < input type = "text" name = "Achternaam" id = "Achternaam" class = "invul" value = "<?" PHP echo isset($_POST['Achternaam'])? $_POST ["Achternaam"]: "?; ">" / >

    <? PHP if (in_array ("'Achternaam", $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ["Achternaam"];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    Straatnaam < td >: < table >

    < td > < input type = "text" name = "Straat" id = "Straat" class = "invul" = value "<?" PHP echo isset($_POST['Straat'])? $_POST ['Straat']: "?; ">" / >

    <? PHP if (in_array ('Straat', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ["Straat"];? > < / span >

    <? PHP endif;? > < table >

    Huisnummer < td >: < table >

    < td > < input name = "Huisnummer" type = "text" id = "Huisnummer" class = "invul" size = "10" = value "<?" PHP echo isset($_POST['Huisnummer'])? $_POST ['Huisnummer"]:"?; ">" / >

    <? PHP if (in_array ('Huisnummer', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ["Huisnummer'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    Code postal < td >: < table >

    < td > < input type = "text" name = "PostalCode" id = 'postal Code' class = "invul" value = "<?" PHP echo isset($_POST['Postcode'])? $_POST ['postal code']: "?; ">" / >

    <? PHP if (in_array ('Postcode', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['postal code'];? > < / span >

    <? PHP endif;? > < table >

    < td > place: * < table >

    < td > < input type = "text" name = "Place" id = "Place" class = "invul" value = "<?" PHP echo isset($_POST['Plaats'])? $_POST ['place']: "?; ">" / >

    <? PHP if (in_array ('Place', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['place'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    < td > email Adres: * < table >

    < td colspan = "3" > < input type = "text" name = "email" id = "email" class = "invul" = value "<?" PHP echo isset($_POST['email'])? $_POST ['email']: "?; ">" / >

    <? PHP if (in_array ('email', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['email'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < b >

    Number < td >: < table >

    < td colspan = "3" > < input name = "Categories" type = "text" id = "Categories" class = "invul" value = "<?" PHP echo isset($_POST['Telefoon'])? $_POST ['categories']: "?; ">" / >

    <? PHP if (in_array ('Téléphone', $validation)):? >

    < span class = "error" > <? PHP echo $error_messages ['categories'];? > < / span >

    <? PHP endif;? > < table >

    < /tr >

    < /table >

    < p >

    < label for = "Straat" > < / label >

    < label for = "Huisnummer" > < br / >

    < / label >

    < input type = "submit" name = "Submit" id = "Submit" value = "Verstuur" / >

    < input type = "reset" name = "Reset" id = "Reset" value = "Wissen" / >

    < /p >

    < / make >

    <? PHP else:? >

    < div class = "fresh" >

    < p > Bedankt voor uw request! < /p >

    < p > Wij zullen uw request zo mogelijk processing soon. Meestal if said 2-3 werkdagen. < /p >

    < p > < img src = "icons/vinddit3.gif" width = "220" height = "80" alt = "logo" / > < / p > "

    < / div >

    < p >

    < script type = "text/javascript" >

    setTimeout ("ourRedirect ()", 5000)

    function ourRedirect() {}

    }

    < /script >

    <? PHP endif;? >

    < / body >

    < / html >

    and. JS

    window.addEvent ('domready', function() {}

    Get the form

    var form = $('comments_form');

    If the form is...

    If {(form)

    get the error fields

    var name = $('fullname');

    e-mail var = $('email');

    Var comment = $("commentaire");

    Set the default state

    var isValid = true;

    function of input for the error messages error

    addError var = function (field, msg) {}

    field.addClass ('error'); Add the error class to the field

    var error = field.getParent () .getElement ('span') | new element ('span', {'class': 'error'}); Add error message if not already placed

    Error.Set ("text", msg); error text msg

    Error.Inject (field, 'after'); Insert the error message after field

    };

    detach the function of error used to remove the error messages and remove the error class

    removeError var = function (field) {}

    field.removeClass ('error'); Remove the error of form fields class

    var error = field.getParent () .getElement ('span'); find the existing error messages

    destroy if error message

    If {(error)

    Error.Destroy ();

    }

    };

    Insert the form submit event

    form.addEvent ("submit", function (e) {}

    Length of the name of test

    If (name.get('value').length = 0) {}

    isValid = false;

    addError (name, nameError);

    } else {}

    isValid = true;

    removeError (name);

    }

    check the length of e-mail

    If (email.get('value').length = 0) {}

    isValid = false;

    addError (e-mail, emailError);

    check the validity of the email

    } else if (! email.get('value').test (/ ^ ([a-zA-Z0-9 + Zinsou-] +) (\.))) [a-zA-Z0-9\+_\-]+)*@([a-zA-Z0-9\-]+\.) + [a-zA-Z] {2, 6} ($/)) {}]

    isValid = false;

    addError (e-mail, emailError);

    } else {}

    isValid = true;

    removeError (email);

    }

    check the length of the comment

    If (comment.get('value').length = 0) {}

    isValid = false;

    addError (comment, commentError);

    } else {}

    isValid = true;

    removeError (how);

    }

    If the invalid form then stop occurrence of the event

    If (! isValid) {}

    e.Stop ();

    }

    });

    }

    });

    If the success of the validation ok then send e-mail

    mail ($email_to, $email_subject, $email_content);

    Only, you should be able to add automatic response php code before "mail" works in your existing php code (marked in red below). Then add another function of mail after the function of main e-mail as shown below.

    build the auto answer

    $reply = $_POST ['email'];

    $replysubject = "auto-Reply: name of the Web site;

    $replyfrom = "from: [email protected]\r\n";

    $replymessage = 'your request has been sent successfully. A member of the staff is reviewing your request and is soon in contact. Thankyou.\r\n\r\n ';

    $replymessage. = 'yours Sincerely, \r\n ";

    $replymessage. = 'Position in society - society Name\r\n ';.

    $replymessage. = "this email is automated, so please NO reply.\r\n;

    If the success of the validation ok then send e-mail

    mail ($email_to, $email_subject, $email_content);

    mail ($reply, $replysubject, $replymessage, $replyfrom);

  • Centering the div 'container' does not not despite the good CSS coding

    In fact, it is the container in the container.

    It's been a while since I've posted, because I was without a problem for a long time (or at least have been able to resolve myself) to get a good idea of my problem, it is visualized here.

    I decided to put it online already because the problem is not necessarily so dire. Don't take away the fact he annoys me and is not just look right.

    This is an updated version of the language selection screen I used to have, where it all used to work perfectly. The div container only has a specified background color and within the container is another div 'container' that inherits all the images and buttons.

    The encoding is as follows:

    "< div id="container">".

    "< div id="langscreen">."

    "" < div id= "fclogo" > < img src= "images/Talenkeuze/nieuw/fclogo.png" width= "148" height= "102" / > < / div > "

    "" "" < div class= "dkbutton" > < a href= "dk/home.html" onmouseout= "MM_swapImgRestore()" onmouseover= "MM_swapImage('Image2','','images/Talenkeuze/nieuw/dkbuttonover.png',1)" > < img src= "images/Talenkeuze/nieuw/dkbutton.png" name= "Image2" width= "36" height= "36" border= "0" id= "Image2" / > < /a > < / div >

    "" "" < div id= "sebutton" > < a href= "is / index.html" onmouseout= "MM_swapImgRestore()" onmouseover= "MM_swapImage('Image3','','images/Talenkeuze/nieuw/sebuttonover.png',1)" > < img src= "images/Talenkeuze/nieuw/sebutton.png" name= "Image3" width= "36" height= "36" border= "0" id= "Image3" / > < /a > < / div >

    "" "" < div id= "nlbutton" > < a href= "nl/home.html" onmouseout= "MM_swapImgRestore()" onmouseover= "MM_swapImage('Image4','','images/Talenkeuze/nieuw/nlbuttonover.png',1)" > < img src= "images/Talenkeuze/nieuw/nlbutton.png" name= "Image4" width= "36" height= "36" border= "0" id= "Image4" / > < /a > < / div >

    "" "" < div id= "esbutton" > < a href= '/ index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/Talenkeuze/nieuw/esbuttonover.png',1)"> < img src="images/Talenkeuze/nieuw/esbutton.png" name="picture5" width="36" height="36" border="0" id="picture5"/ > < /a > < / div >
    "" < div id= "bitesnew" > < img src= "images/Talenkeuze/nieuw/applebitesnew.png" width= "840" height= "200
    " /> < / div >
    < / div >

    Some might say don't not to use the divs so much, and I might agree with them. The only thing is that this has been work best for me and my way of thinking (this using entire dreamweaver was a self-taught), and in the end, the results are generally the same. The CSS for the div in question is the "langscreen" div, and its exact codification is the following:

    {#langscreen}

    Width: 919px;

    margin-right: auto;

    left margin: auto;

    All the images that are on the page have been placed using absolute positioning. I guess that it is the main cause of my problem of centering, because CSS coding to center the div "langscreen" is correct, that I don't know a way around. Also, in the old version it Center, despite the use of absolute placement in the legacy divs.

    Any ideas would be great! Thank you in advance!

    Hello

    Set the div #langscreen relative position and it'll work.

    {#langscreen}

    Width: 919px;

    margin-right: auto;

    left margin: auto;

    position: relative;

    }

    David

  • ORA-01445: cannot select ROWID, or sample, a view of join without key - preserved table form w/report and LOV

    I create a page "Form on a Table with Report" (APEX 5). Table I has 3 columns: cat_key, item_value, item_description. The cat_key is a foreign key in a table with columns cat_key, cat_value. I created the report and everything works fine.  The page of the report shows my domain cat_key in number, so I want it instead to display the cat_value. I change the field cat_key to a text based on LOV, select my LOV and now when I view the page of report I get the "'ORA-01445: cannot select ROWID from where sample, a join without key preserved table view ' error." The report uses the ROWID as a link to the edit page field.

    If I use the same tables and even shared LOV in a report page interactive, it works fine.

    What I am doing wrong?

    This is a limitation of the IR Apex will rewrite your query to a query that includes the lookup table and the columns. So now you have actually created a query on an inline view, which causes the error. You can see the query apex created when running in debug mode. APEX will join the table of choice with your primary table. For example from one of my IR:

    Select 'ID '...

    "MSL". "" HIS_COUNTRIES "=> my primary table

    ) ) b,

    (select rv_meaning d, rv_low_value r

    of msl_ref_codes_table

    where rv_domain = "JOHN".

    ) L1 = > query My LOV Lookup

    ...

    So, if possible, base your reports and forms on the real primary key, no rowid.

    You can also write the IR query with the search yourself:

    Select T1.rowid...

    of primary_table T1

    look_table L1

    ...

  • In table form, a dynamic action to disable and set of columns of text

    Hello!!

    With the help of APEX 4.2.6 with Oracle 11 g R2, someone I work with has a tabular presentation of the need to do the following:

    Tables has the following provision:

    When the user selects the UOM LOV Dollars, the rate must have related associated text box the amount set to 1.  We currently have JavaScript disable and set the background color, but fo rth elife of me that I can seem to help set the value...

    The code we have in dynamic action:

    < tt >

    ROW_ID = $(this.triggeringElement).attr('id').substr (4);

    If (. val() $(this.triggeringElement) == 2)

    {

    $(«#f04_» + row_id) prop ('readOnly', 'readonly');

    $(«#f04_» + row_id) prop ("class", "textinputdisabled");

    .Val (1) $("#f04_" + row_id);  < = Here's where we had the question...

    }

    on the other

    {

    $(«#f04_» + row_id) prop ("readOnly", false);

    $(«#f04_» + row_id) prop ("class", false);

    < /tt >

    Thank you

    Tony Miller
    Los Alamos, NM

    Hi Tony

    What exactly is the problem here? I have no problem setting the value using the method described above. There is even a '1' in the screenshot above, no doubt, which indicates that the value has been successfully changed.

    For ease of improved management, I'd use traversal Dynamics for the form element affected, rather than hard-code the ID (or go with a DA conditional with distinct actions of true/false), but the jQuery code to set the value is the same:

    var uom, rate;
    
    uom = $(this.triggeringElement);
    rate = uom.closest('tr').find('td[headers="RATE"] input');
    
    if (uom.val() === "USD") {
      rate
        .prop("readOnly", true)
        .addClass("textinputdisabled")
        .val("1");
    }
    else {
      rate
        .prop("readOnly", false)
        .removeClass("textinputdisabled");
    }
    

    (I used a static LOV in the column of the unit of MEASURE, so the value of '$' is 'USD' rather than '2').

  • Total of a column when the check box is selected in table form

    Hi all

    Total of a column when the checkbox is enabled in the form of tables, but is not work, help

    https://Apex.Oracle.com/pls/Apex/f?p=82062

    My credentials for my worksapce:

    https://Apex.Oracle.com/pls/apex/

    Workspace: GB

    USERNAE: [email protected]

    PASSWORD; GB

    Thank you.

    abb.JPG

    abcd.JPG

    abcde.JPG

    Kind regards

    GB

    Hi user13028844,

    user13028844 wrote:

    Please change your login username of "user13028844" to something meaningful. Reference: Video tutorial how to change username available

    The second button is a javascript function call, which is not a summary. the javascript function has a problem

    This function has the problem help me correct, whereas we can summarize the amount of lines checked

    I have made changes to your page. Check the "Display of Javascript" button, now it shows the correct amount for active items.

    Made the following changes:

    • The following are removed from the section "run when Page Loads:
    Declare
      p_qty          number;
      p_total_qty    number := 0 ;
    Begin
    for i in 1..APEX_APPLICATION.G_F01.COUNT LOOP
      select nvl(qty,0) qty into p_qty from DURATION
        where id = to_number(APEX_APPLICATION.G_F01(i));
       p_total_qty := p_total_qty + p_qty;
    end loop;
        --htp.prn(p_total_qty);
    htp.prn('');
    apex_application.g_print_success_message := 'Checked total qty:'||p_total_qty  ;
    End;
    

    NOTE: The section "run when Page Loads" is intended for JavaScript code to perform the loading of the Page and NOT PL/SQL code.

    • The following code removed from the section "Header HTML":
    
    

    This code was going nowhere, so removed and replaced with code below.

    • Added the following code in the section "function and Global Variable declaration:
    function enableButton() {
        // code goes here
    }
    
    function total_checked() {
       var total = 0; var qty = 0;
       $( 'input[name="f01"]' ).each(function() {
         if ( $(this).is(':checked') ){
           qty = $(this).closest('tr').find('td[headers="quantity"]').text();
           total += parseFloat(qty);
         }
       });
       alert("Checked Total Quantity : " + total);
    }
    

    Your APEX_ITEM. BOX calls a JS "enableButton" function, but it has no definition, dummy definition so added.

    Kind regards

    Kiran

  • SELECT_LIST_FROM_QUERY_XL in table form

    Hey,.

    I created a SELECT_LIST_FROM_QUERY_XL element in my sub form of table, but when I click on "Add line", the coresponding to the new line element is null, not a selection list.

    No idea why this is happening?

    Here's my query for the form:

    SELECT
        TLT.LABONUMMER, TLT.TEELTCODE,
        APEX_ITEM.SELECT_LIST_FROM_QUERY_XL(
                                        1,
                                        (select initcap(omschr) 
                                         from prt_teksten
                                         where groep = 'STDTEELT'
                                         AND OMSCHR IS NOT NULL
                                         AND CODE = TLT.TEELTCODE), 
                                        'select initcap(omschr) D, 
                                                code R
                                         from prt_teksten
                                         where groep = ''STDTEELT''
                                         AND OMSCHR IS NOT NULL
                                         ORDER BY OMSCHR')
                                        "Omschrijving",
     TLT.ZAAIDATUM,
     TLT.OOGSTDATUM
    FROM 
     EXP_INOUT.CSLIM_TEELTEN_30 TLT 
    WHERE 
      TLT.LABONUMMER = :P26_LABONUMMER
    

    And here's a screenshot of what I get:

    query.PNG

    Version of the APEX is Application Express 4.0.2.00.07

    Thanks in advance,

    J

    Hi Julijan,

    Julijan wrote:

    I have to return it especially as a CLOB, I guess she did this because I use a PART of the APEX.
    What I need, is essentially that the user selects a value from the drop-down list, then clicking on submit, the new row is inserted in the database.

    It is a wizard based as a right. Why you mix APEX_ITEM with assistant based in a table? As both use the APEX_APPLICATION. G_FXX tables for treatment there is clash with index and create a mess. There is no equivalent SELECT_LIST_FROM_QUERY_XL in tabular form based Wizard, but there is a solution, instead of the selection list using the popup LOV.

    Create a LOV named in the shared components and associate it with the column popup LOV.

    I hope this helps!

    Kind regards

    Kiran

  • Problem of update in table form (after validation fails)

    Hello.

    I have a problem on the shape of tables using APEX 4.2.5.

    Application page has a table and a filter element to filter results in a table.

    The default value of this element is 0 (zero). This means that all the records are retrieved.

    SQL WHERE clause look like where deptno = decode(:P1_deptno,0,deptno,:P1_deptno)

    I created testcase: https://apex.oracle.com/pls/apex/f?p=4000

    W: nlzoh

    SUP: test01

    P: test

    The application name is A1.

    Everything works fine (insert and update), until there are validation error - due to an incorrect value in the column form.

    If I add by example in the second row (ename BLAKE) in the column WORK 1111 - so it would look like MANAGER1111 I get a validation error.

    Then I remove 1111 so validation would be ok, form insert 16 records (all). I is not updated that one record, it inserts all records.

    This allways happens after the validation error.


    When there is no validation error, changed row is updated as expected

    Insert also didn't happen, when there are value DEPTNO in filter.

    So the unexpected result is because of that where would adopt.


    So I have two questions.

    1. Why does it inserts all lines after the validation error? When there is no validation error, only the changed rows are updated - even if there is no DEPTNO in the filter.

    -Why modified column id drop apex?

    2. How can I change where clause, so iz will not work correctly.


    I hope it's understandable.


    Kind regards

    Dean


    Hello

    I created a new shape similar to your condition. His work with no problems.

    Please check Page 2 of application A1

    BR,

    Patrick

  • In table form. No data displayed

    Hello world

    I have a tabular presentation that uses elements of the application to query data. The user enters the page the first page that contains the calendar by clicking on any date. If the date has no records are attributed to him, the shape of paintings shows them to view/change/remove. If no data is found, it displays the message "no data found".

    I start a new session and access the page in a table by clicking the date without any registration. Then, when I go back to the first page (calendar) and click on the date that has affected records, the format of table shows all records. What's really weird is that it does not even show the message "no data found". I don't see the form with the names of column header.

    In debugging, I found the following info on the form:

    Print column headers

    loop lines: 0 line (s)

    paging

    All elements on the page, based on the same query appear successfully, then the query, as well as the item values are correct.

    Apex version: 4.0.2.00.07

    Please, help me to solve the problem!

    Elena

    Hello everyone,

    Just for information, the problem has been resolved. The problem is in the process of apex 'Add Row' that was used to create a new line in a tabular layout on a page load. As soon as I removed from the page and created a dynamic of action that runs the::AddRow() javascript instead of this function, all the records in the report have become visible.

    The conclusion: use this process 'Add a line' with caution because it can behave in a strange way.

    See you soon,.

    Elena

  • Dynamic action on the fields of forms in table form

    Hello guys.

    That I can see on the form fields in a table, I can't perform dynamic actions. What I want is to have an element of the selection list when in the change event, it changes the values for all the records in the report. For example if I have 40 records in this tabular form and I change the value of 'Open' to ' near the field called State, I want to see this change (status value of 'Open' close ') all rows in this tabular presentation. Is this sensible?

    Thank you very much, Bernardo.

    Hello Bernardo.

    There are several ways to accomplish what you want.

    -You can create a PL/SQL procedure to manage an update on all the rows according to the value of the value of your column. I wrote once a blog that can help you with that:

    http://vincentdeelen.blogspot.nl/2013/06/custom-multi-row-processing-using.html

    -You can create a dynamic action with javascript or jQuery to handle the change event.

    The first option is more secure because it is managed by the database, the second is more simple and example adjustable all the entire column for all rows displayed, without the need to refresh your tabular presentation, or your entire page. For course work, you should however have little validation at the end of the database. I also think that it is not possible to set the values of the rows that are not displayed, which would again require some PL/SQL for handling.

    If you need help setting up the dynamic action, please set up an example on apex.oracle.com.

    Kind regards

    Vincent

  • Maybe you are looking for

    • I can't turn off on Apple Watch whatsapp messages

      Hello I don't want to receive notification of Whatsapp on my watch (just want to see them on my iPhone). I'm going to watch App > Notifications > Whatsapp > the switch is off However, I still get messages on my watch. Can someone help me? (I have the

    • Driver for missing MS Publisher Imagesetter on Windows Server 2003

      I've got 8 servers running Windows Server 2003, 4 of them can not install the MS Publisher Imagesetter in the Add Wizard of printing imagesetter, the only options available are: PS 35PPM 35PPM PCL PCL6 35PPM Also it a generic 'printers' group, but it

    • Windows Help and support

      I use a new HP Touchsmart laptop, running Windows 8.1.  I installed an old program, Coreldraw 7, but whenever I try to enter data, the Windows Help and Support window opens and prevents data entry.  How can I prevent the opening of this window?

    • Way to discover the product activation key?

      Hi, recently the laptop was dropped and the hard drive is bad and no longer works, I ordered the hot spare but it will windows install on it. The label on the back of the laptop is partially missing. From what I see he uses Windows Home Premium and I

    • microphone does not work on Skype, acer 7540

      Skype becomes my pic and others pic and sound but does not hear me