www.webdeveloper.com

Search:

Type: Posts; User: brenz.net

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,013

    It is possible...

    Yes, it's possible, I just gave you the xsl code above. Here is the XSL based on your new XML provided:



    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    ...
  2. Replies
    6
    Views
    2,013

    for each xsl

    First, fix your XML by removing the closing tags for the StudyID nodes for which there are no opening tags. Then, this XSL will read the 'condition' nodes:



    <xsl:template match="/">
    ...
  3. Replies
    5
    Views
    3,290

    not in css, but in javascript (kind of...)

    Well I'm sure there are more elegant ways out there, but this kind of accomplishes what you are trying to do, using an on-page clipboard thing. For some reason, I am using text input fields for the...
  4. Replies
    5
    Views
    3,290

    in divs instead of table?

    Not sure if you can format your content this way, but if you can use divs instead of a table this works:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  5. show/hide function

    I think this achieves what you're trying to do:



    <head>
    <title>brenz.net example</title>
    <script type="text/javascript">
    function showSideMenu() {
    switch...
  6. Replies
    1
    Views
    1,739

    open modal from frameset page

    Perhaps you could try to open the modal dialog window from the frameset page rather than from the frame itself. In other words, trigger the 'parent' frame to open the dialog...
  7. Replies
    4
    Views
    2,050

    make global variables

    You probably just need to define lat1 and long1 as global variables. Then you can assign their values from within the geo function, and still retrieve the values to populate your array.

    Try...
  8. elements not in page

    The first (and hopefully only;)) problem is that the 'icwebcode' and 'qz_iframe' elements are not found in the html...

    Since those elements aren't in the document, the SetValue script is erroring...
  9. working example

    I didn't re-write your exact code, but I have uploaded two html pages to my site which illustrate a working example:
    http://www.brenz.net/test.html
    http://www.brenz.net/test2.html

    test.html uses...
  10. small fix to if statement

    I made a small fix to your if statement and it seems to work. You'll notice when you have a 'good value' for the input, the hrefs change on the links. I simplified the script and fabricated some...
  11. indexOf() function

    You can use indexOf(string). indexOf() will return -1 if string is not found.


    var usrAnswer = document.getElementById('answer').value.toLowerCase();
    var correct = ans[question];

    if...
  12. Replies
    1
    Views
    730

    syntax error

    You shouldn't be using quotes around the whole if comparison - only around the string your testing for. If COUNTY_NAM is a javascript variable, you don't use quotes around it. Try this instead:

    ...
  13. meta refresh

    I'm pretty sure this is frowned upon for accessibility reasons, but you could just use a Meta refresh:


    <meta http-equiv="refresh" content="0;URL=http://www.brenz.net/?p=something" />
  14. Replies
    3
    Views
    591

    add an ID to input, and set it to max

    Change your code as indicated below:

    Add an ID to your input


    <input id="myInput" name="1107-3368" type="text" value="0" size="3" maxlength="2" onchange="quantityCheck(this,0,10,'i');">

    ...
  15. Replies
    6
    Views
    951

    It works

    You've only showed us half of your code - what do your divs, links, onmouseover, onmouseout, etc look like? :confused:

    Regardless, using the basic code below (I created some simple nav items),...
  16. Replies
    4
    Views
    563

    missed it by that much

    You failed to implement all of my changes. Look carefully at the code i posted for the next function. There's this bit that you missed:



    if(l>=n){


    The value of i never changes, so it...
  17. Replies
    4
    Views
    563

    Previous and Next Functions a bit off

    Made a couple slight modifications to your prev and next functions:



    // Create link function to switch image backward
    function prev(){
    if(l<=0)
    {
    l = n
    } else {
  18. Replies
    2
    Views
    2,826

    take redirect function out of if statement

    All I did was move your redirect function outside of the if block:



    <script type="text/javascript">
    function redirect()
    {
    window.location.href = "http://www.brenz.net/";
    }
    // NOTE: the...
  19. Thread: CSS Selector

    by brenz.net
    Replies
    5
    Views
    1,507

    One way

    Here's one way, but maybe not the best:


    <style type="text/css">
    ul.first li {color: #f00;}
    ul.other li {color: #000;}
    </style>
    <ul class="first">
    <li>Item 1</li>
    <li>Item 2
  20. Replies
    1
    Views
    838

    use css to style select element

    Use a little CSS to set the width:


    <select multiple="multiple" style="width:100px;">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select>
  21. id missing on flds

    You are missing id="flds" on this tag:


    <input type="hidden" value="10" name="flds" id="flds">

    IE overlooks the problem but Mozilla does not.
  22. Missing UL and LI?

    I notice that the offending pages are missing the unordered list (<ul> and <li> tags) around the right-side navigation items. The pages that are working have that nav within a list. This could be...
  23. Supply all of the code

    Make this easier to debug by providing all of the code - including the form and/or entire html doc if relevant. Then, perhaps we can catch any typos you may have that could be causing the problem.
  24. Replies
    4
    Views
    642

    Google maps limits/timeout being imposed

    The problem is probably with limits and/or script timeouts in the Google API calls. I had a problem like this in which I was trying to geocode 100 points to plot them on the Google map and only the...
  25. Replies
    3
    Views
    638

    solution in another thread

    Check out this thread for your solution:

    http://www.webdeveloper.com/forum/showthread.php?t=218110
Results 1 to 25 of 46
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles