squibby's Profile User Rating: -----

Reputation: 4 Apprentice
Group:
Active Members
Active Posts:
89 (0.09 per day)
Joined:
21-January 12
Profile Views:
2,739
Last Active:
User is offline Aug 14 2014 02:28 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   squibby has not set their status

Posts I've Made

  1. In Topic: Alternative code for clicking div in parent window? (ad-blocker error)

    Posted 14 Aug 2014

    I have come across this issue today and was able to trigger events in the parent window from the Iframe. The parent container was an edge animate project and the Iframe was not.

    I attached an onclick event in iframe. Something like the following:

    <div onclick = "parent.trigger();" id = "mybutton"></div>
    
    


    Then in your parent window (in my case edge animate project) I included a function called trigger() which is invoked when the div in the Iframe is clicked.

    You can get this function to do whatever you like. Hope that helps out a bit. Make sure you use .parent before the function in the Iframe.
  2. In Topic: Alternative code for clicking div in parent window? (ad-blocker error)

    Posted 8 Aug 2014

    Could you assign an ID to your button and then have a function which performs what you need to do?

    something like:

    <button id = "yourButton"></button>
    
    
    $('#yourButton').click(function(){
       // do something
     alert('it works');
    
    
    });
    
    
  3. In Topic: Alternative code for clicking div in parent window? (ad-blocker error)

    Posted 5 Aug 2014

    Has that code been generated by edge animate? If so why is it in an Iframe, are you not able to embed it within the site without an iframe?
  4. In Topic: Get multiple latitude/longitude from json and plot on google map

    Posted 13 Jun 2014

    thank you so much, changing the string to number made all the difference. :bigsmile:
  5. In Topic: How I call a PHP function from Javascript?

    Posted 12 May 2014

    Try these out - im sure there is some infomation you can find within them that is useful.

    http://iviewsource.c...video-tutorial/

    http://www.web3box.c...ax-request.html

    http://www.keyboardn...x-call-tutorial

    Don't forget google is your friend.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

Comments

squibby has no profile comments yet. Why not say hello?