Results 1 to 5 of 5

Thread: dynamic ajax content similar to frames?

  1. #1
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dynamic ajax content similar to frames?

    1) Script Title:
    dynamic ajax content

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem:
    is this bad for SEO or is it ok?
    i plan on pulling in pages that hold content on different portfolio pieces.
    when one clicks on the portfolio image it load content right below it about that piece.
    Last edited by shamai; 12-07-2011 at 07:44 PM.

  2. #2
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    anyone?

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    It will not be indexed by search engines. Ajax-imported content is not part of the page, so search engines won't see it, and almost all search engines use source code only-- they don't use Javascript actively. That might change, but for now it's not reliable at all (if not NEVER indexed).

    You need a backup method that doesn't use Javascript-- links and real pages. But for your regular users, you can still use the ajax script.

    That's always a good idea anyway in case someone doesn't have Javascript available or if they are on a mobile device that doesn't support Javascript.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for the reply!!
    ok so can I make the links go to the actual page IF the javascript is disabled. this way maybe google will find those links...

    is there a conditional anchor tag i can make? somehow?
    i hear <noscript> isn't either indexed by google...

  5. #5
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    what about a condition like this?

    //if there is javascript//
    <script type="text/javascript">
    document.write('<style>.'class for links if js is enabled' { display:none }</style>');
    document.write('<style>.'class for links with js code { display:block }</style>');
    </script>

    ill have 2 sets of anchors one that does the js and one that doesn't. by default the js anchor is set to display:none; would that work or the anchors will mess each other up
    Last edited by shamai; 12-07-2011 at 10:22 PM.

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
  •