Results 1 to 4 of 4

Thread: What the......

  1. #1
    Join Date
    Feb 2006

    What the......

    Hi guys,

    First a short introduction. I have been promoting an adult web site, and now they have given me the oppurtunity to start my own site. Since I just started with informatica / webdesign courses, i thought it would be a good addition to put the theory into practice.

    i dont think that I can give the link to the site. That might be against the forum rules... so I better describe my first problem in detail. Hope I wont bore you guys..

    I had to integrate the webcams in iframes. Ofcourse there are cammodels who speak different languages. We distinct them in english, french, german , italian and spanish.

    The main page consists:
    of navigation section, online section in which the iframe is integrated, and section of offline cams in which also iframe is integrated.

    Now i completely understand on how I can change the iframe in order for it to show for example "girls only" when you press a relevant button of it on the navigation section.

    however this means that I have to create like more than 10 htmls pages, all similar, but with a few adjustment to the iframe: like for example "show_lang=IT" , just to show italian speaking cammodels only.

    Needless to say that this does cost additional bandwith.. and when i need tio update the site, then it would mean that I need to change every single page, in order to let view the change.

    So what I am trying to do is a simplification.
    i have seen it elsewhere on a site..

    my situation:
    girls only, males only, couples only, italian speaking only.. etc..
    every "option" has a relevant image on which you can click
    and every button leads to a html page, looking similar, but with only a slight iframe adjustment inside online and offline section.

    Now I manage to dot he following..

    from navigation section:

    <p align="center"><a href="http://www.*****.com/ensiteIT.php"> <img src="/ENimages/italianonly.jpg" border="0" align="absmiddle"/></a></p>

    example above is old style
    change into:
    by putting the iframe of the online section..

    <p align="center"><a href="http://*****.com/front_v3/home.php?ref=***&category=10&rows=06&online_only=1&dark=1&lang=IT&single_lang=1&columns=5&status_pic =1&fontcolor=CACCDA&framecolor=CACCDA&show_age=1&show_profile=1&page_numbers=1&limit=10&bgcolor=b975 75&table_width=570&table_height=800&use_css=0&titlecolor=6D1716&fontcolor=CCCDD2&framecolor=02011A" width=600 height=800 scrolling=no frameborder=0><img src="/ENimages/italianonly.jpg" border="0" align="absmiddle"/></a></p>


    i only get to see the italian speaking cammodels..
    but it fills the entire page..

    so.. the layout of the site, "topbanner, navigation section, offline section"
    are ofcourse NOT shown.. the other tables..

    How can I ensure that within the navigation section, I can address changes to the iframe related to the online section, and still keep the entire page layout.

    A different promotor, even solved the problem without using additional buttons, but simply in his navigation section by using.. see image.. (no need for additional buttons and or pages.. which is even more better. But i dont have a clue how I could even setup such a feature similar as seen in the picture)


    any help..

    i know its difficult to answer the question, without seeing the site. But if you would like to have visual check of my problem and its inefficiency, then i can send the link by means of Private message. Or provide more detailed info regarding problem here..
    Last edited by Forzacaesar; 02-21-2006 at 08:58 AM.

  2. #2
    Join Date
    Jan 2005
    A link redirects the page location to whatever href you give it. To make it change the location of an IFrame you must give the IFrame an ID and set the target attribute of the link to that IFrame. To do so add the following to your link tag, with 'myiframe' replaced with the ID that you give your IFrame.


  3. #3
    Join Date
    Feb 2006
    First of all thnx for your reply..

    So in order to make the iframe change occur in the existing "iframe online section", I need to name that iframe first..

    i think its done ok like this:
    this is the relevant iframe inside the table "who is online"

    <iframe name="Frame1" src="http://*****.com/front_v3/home.php?ref=**&category=10&rows=10&online_only=1&lang=EN&dark=1&columns=5&status_pic=1&fontcolor=CACCDA&framecolor=CACCDA&show_age=1&show_profile=1&page_num bers=1&limit=10&bgcolor=b97575&table_width=570&table_height=1250&use_css=0&titlecolor=6D1716&fontcol or=CCCDD2&framecolor=02011A" width=600 height=1250 scrolling=no frameborder=0></iframe>

    so this is frame is now named Frame 1..
    and it it current stage would show all people who can speak english..

    on my navigation section, there is an image with basically the Italian flag on it. so when you click on it, i want the already existing iframe in the online section to change into...

    <iframe name="Frame1" src="http://*****.com/front_v3/home.php?ref=**&category=10&rows=10&online_only=1&lang=IT&dark=1&columns=5&status_pic=1&fontcolor=CACCDA&framecolor=CACCDA&show_age=1&show_profile=1&page_num bers=1&limit=10&bgcolor=b97575&table_width=570&table_height=1250&use_css=0&titlecolor=6D1716&fontcol or=CCCDD2&framecolor=02011A" width=600 height=1250 scrolling=no frameborder=0></iframe>

    and this change should occur then in the existing box already, not that another page is shown..


    currently.. the italian flag image is being shown in the site
    ..without any "command to change iframe"

    <p align="center"><img src="/ENimages/italianonly.jpg" border="0" align="absmiddle"/></a></p>


    so how should it look like then.. if I would use your comment..
    in order to add the target..
    i tried a few ways.. to incorporate your advice.. but failed horribly..
    Last edited by Forzacaesar; 02-21-2006 at 11:07 AM.

  4. #4
    Join Date
    Jan 2005
    First off change name= to id= and then do the following:

    1. Create the basic iframe. I will use English as the default:
    <iframe id="Frame1" src="http://*****.com/front_v3/home.php?ref=**&category=10&rows=10&online_only=1&lang=EN&dark=1&columns=5&status_pic=1&fontcolor=CACCDA&framecolor=CACCDA&show_age=1&show_profile=1&page_numbers=1&limit=10&bgcolor=b97575&table_width=570&table_height=1250&use_css=0&titlecolor=6D1716&fontcolor=CCCDD2&framecolor=02011A" width=600 height=1250 scrolling=no frameborder=0></iframe>
    2. Create your italian image as a link:
    <p align="center"><a href="http://*****.com/front_v3/home.php?ref=**&category=10&rows=10&online_only=1&lang=IT&dark=1&columns=5&status_pic=1&fontcolor=CACCDA&framecolor=CACCDA&show_age=1&show_profile=1&page_numbers=1&limit=10&bgcolor=b97575&table_width=570&table_height=1250&use_css=0&titlecolor=6D1716&fontcolor=CCCDD2&framecolor=02011A" target="parent.document.getElementById('Frame1')"><img src="/ENimages/italianonly.jpg" border="0" align="absmiddle"/></a></p>
    In order to make it work properly you might need to use parent., as I did above. that should work though. without seeing the basic outline i cannot say for sure though.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.09634 seconds
  • Memory Usage 2,872KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates