Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Ajaxed tabs

  1. #11
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Has anyone noticed that the borders surrounding the tabbed content often disappear when the content is placed on your site?

    Example:

    http://www.protestantlawyersny.org/application.htm

    Im wondering why this happens.

  2. #12
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by nelsontimken
    Has anyone noticed that the borders surrounding the tabbed content often disappear when the content is placed on your site?

    Example:

    http://www.protestantlawyersny.org/application.htm

    Im wondering why this happens.
    I've tried your page in three different browsers and do not see any problem with borders. BTW, when starting a new question, please start a new thread.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #13
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry about the thread.

    The borders surrounding the perimeter of the tabbed content are not showing for me.

  4. #14
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    How can I duplicate/see this problem? What browser are you using? What type of computer?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #15
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm using Internet Explorer 7 on a Dell PC -


    I see no borders around the tabs or the content on the page:

    http://www.protestantlawyersny.org/application.htm

    I wish I could attach a screen shot but I cant.

  6. #16
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Until the official release of IE7, best to use v6. Once the official release is made (not the current beta) if the problem persists, there will be ways of dealing with it. Until then, it is silly to redesign for a beta browser, instead report it as a bug to the beta developers.

    Most likely the beta is using a more standards compliant way of rendering your border that you may have already incorporated a workaround for IE6 that v7 is now erroneously following. Whatever the cause, until v7 is out of beta release, it is a bug in the beta release. And, if not due to the above reason, should be corrected by the developers and might be even if the above is the cause. Developers cannot correct for problems that they are unaware of so, in any case, it should be reported to MS.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #17
    Join Date
    May 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1
    That's right, Narfix. As I originaly stated:



    With that approach, the script only needs to be loaded once and could even be hard coded (without its 'run command', jsinit() in your example, being executed) onto the 'top' page. An example of a poll is:
    Sorry at that time I didn't get what you meant. Afterwards I did.

    I prefer moving the load of the js in the loadpage but it's just a matter of personnal preference in the code. ( and since I don't have a common ID on all my loaded pages so testing for one would be tricky)

    Thanks a lot for the help you provided !

  8. #18
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Narfix
    Sorry at that time I didn't get what you meant. Afterwards I did.

    I prefer moving the load of the js in the loadpage but it's just a matter of personnal preference in the code. ( and since I don't have a common ID on all my loaded pages so testing for one would be tricky)

    Thanks a lot for the help you provided !
    You're welcome. No need to be sorry, there is so much to all of this and I don't think anyone gets it all the first time. And there are various ways to do most things, it is, as you say, a matter of preference, as long as the method you choose works. A variation on the poll that might be good for the situation you are talking about is to use the the content loading function of ajaxtabs itself to tell you when the content is loaded and then run your script, something like from ajaxtabs.js (additions red):

    Code:
    page_request.onreadystatechange=function(){
    loadpage(page_request, containerid, url)
    and:

    Code:
    function loadpage(page_request, containerid, url){
    if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) {
    document.getElementById(containerid).innerHTML=page_request.responseText
    if (url=='page.htm')
    jsinit();
    }
    }
    Where page.htm is the page with the content on it that we want to run the function jsinit() on. If there is more than one page, they could all be included through a check of a common fragment of their filename:

    Code:
    if (url.indexOf('pagenamefragment')>-1)
    Say you have pagejs1.htm and pagejs2.htm, then the fragment could be pagejs.

    Of course, this would have to somewhat customized to a particular set of pages and a particular function to run.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #19
    Join Date
    Aug 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have a content page that requires a javascript and stylesheet that doesn't load properly. It also requires the following added to the <body> tag
    <body onload="visibilitytoggle()">. I've added this to the parent page. I then added the "rev" attribute to the as follows:
    <li><a href="../topics/FAQ_Tmplt.html" rel="ajaxcontentarea" rev=../css/hotspot.css, ../js/hotspot.js">FAQ</a></li>.

    Any ideas?

    Thanks

  10. #20
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Read all of the above.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •