Advertisement:

Author Topic: Contact publisher form  (Read 9519 times)

computerbar

  • Tutor
  • Sr. Member
  • *
  • Posts: 279
Re: Contact publisher form
« Reply #15 on: September 21, 2011, 10:52:28 pm »
Hi computerbar

Could you send me the code you are trying to get to showup in a fancybox? I may be able to help.

Jay

It does load other pages like google.com see image but not the contact form..

the code is

<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.1.min.js"></script>
<link href="<?php echo osc_current_web_theme_js_url('fancybox/jquery.fancybox-1.3.4.css') ; ?>" rel="stylesheet" media="screen" type="text/css" />
<script type="text/javascript" src="<?php echo osc_current_web_theme_js_url('fancybox/jquery.fancybox-1.3.4.pack.js');?>"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a.ReplyThisAd").fancybox({
'width' : 600,
'height' : 650,
'overlayOpacity' : '0.4',
'overlayColor' : '#000',
'hideOnContentClick' : false,
'autoScale' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe'
});
});
</script>


Call with
<a href="http://google.com" class="ReplyThisAd"><h3>Contact</h3></a>

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: Contact publisher form
« Reply #16 on: September 23, 2011, 07:15:17 pm »

any one help us to change contact form to fancybox form


Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Contact publisher form
« Reply #17 on: September 26, 2011, 05:57:35 pm »

any one help us to change contact form to fancybox form

You could take a look into twitter theme to see how it's done.

texthiller

  • Full Member
  • ***
  • Posts: 207
Re: Contact publisher form
« Reply #18 on: September 26, 2012, 01:01:21 pm »
I add a fancy box for send a friend but there isn't the same function for reclaim the item_contact.php please see here:

http://forums.osclass.org/development/insert-new-functions-in-hdefines-php/