Buying Small programming help with tinybox - 5$

Discussion in 'Programming' started by naturaldesigns, Jan 17, 2011.

  1. #1
    Hey everybody!

    I need someone to help me out with my coding. On http://woweeone.ch you see a slider. I want the youtube video that opens when you click on the image to open in tinybox instead of just opening the youtube link. The fancybox Javascripts are already integrated as you should see.

    If you can fix or tell me how to fix this I will pay you 9$ over paypal. (First person to tell me gets the money and yes it is 9$ not 5$ as the description says)

    PLEASE ANSWER IN THIS POST ONLY AND DON'T SEND A PM.

    Looking forward to your answers!

    Thanks
     
    Last edited: Jan 17, 2011
    naturaldesigns, Jan 17, 2011 IP
  2. NuLLByTe

    NuLLByTe Active Member

    Messages:
    382
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Well I can't see tinybox installed, but fancybox... I can fix it for you if you give me the FTP or wp-admin details.
     
    NuLLByTe, Jan 17, 2011 IP
  3. RiptideSolutions

    RiptideSolutions Active Member

    Messages:
    142
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    65
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Hi, please replace your javascript with this:

    <script type="text/javascript">
    						$("#videolink").fancybox({
    											'titleShow'     : false,
    											'transitionIn'  : 'elastic',
    											'transitionOut' : 'elastic',
    									'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
    									'type'      : 'swf',
    									'swf'       : {'wmode':'transparent','allowfullscreen':'true'}
    								});
    						</script>
    Code (markup):
     
    RiptideSolutions, Jan 17, 2011 IP
  4. naturaldesigns

    naturaldesigns Member

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    thanks for the answers.
    @RiptideSolutions: which Javascript should I replace?
    Thanks!

    EDIT:
    @RiptideSolutions I have uploaded the new javascript but unfortunately that did not fix it..
     
    Last edited: Jan 17, 2011
    naturaldesigns, Jan 17, 2011 IP
  5. RiptideSolutions

    RiptideSolutions Active Member

    Messages:
    142
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    65
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Replace with this:

    $("#videolink").click(function() {
    	$.fancybox({
    			'padding'		: 0,
    			'autoScale'		: false,
    			'transitionIn'	: 'none',
    			'transitionOut'	: 'none',
    			'title'			: this.title,
    			'width'		: 680,
    			'height'		: 495,
    			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
    			'type'			: 'swf',
    			'swf'			: {
    			   	 'wmode'		: 'transparent',
    				'allowfullscreen'	: 'true'
    			}
    		});
    
    	return false;
    });
    Code (markup):
     
    RiptideSolutions, Jan 17, 2011 IP
  6. naturaldesigns

    naturaldesigns Member

    Messages:
    57
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    replaced and uploaded but still not working...thanks for trying!

    P.S. I saw there are two errors (thanks for pointing out nullbyte) :
    1. The title should say 9$ as in the description
    2. I am talking about Fancybox not Tinybox
     
    naturaldesigns, Jan 17, 2011 IP
  7. hogan_h

    hogan_h Peon

    Messages:
    199
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    Try wrapping it with $(document).ready... i.E:
    
    $(document).ready(function() {
    		$("#videolink").click(function() {
    			$.fancybox({
    					'padding'		: 0,
    					'autoScale'		: false,
    					'transitionIn'	: 'none',
    					'transitionOut'	: 'none',
    					'title'			: this.title,
    					'width'		: 680,
    					'height'		: 495,
    					'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
    					'type'			: 'swf',
    					'swf'			: {
    						 'wmode'		: 'transparent',
    						'allowfullscreen'	: 'true'
    					}
    				});
    		
    			return false;
    		});
    });
    
    Code (markup):
     
    hogan_h, Jan 17, 2011 IP