Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-29-2016, 12:48 PM   #1
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 47,254
Question for GFY HTML5/CSS3 Javascript Gurus

Hey bitches,

Is it possible to display content from 1 page on to another page, using a DIV to "float" that content?

For example, let's say page1.html is your main page, but you want load some of page2.html. Normally you would use an iframe, but in this case, you want to float it on top of page1.html like a window.

tks!
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2016, 01:17 PM   #2
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Pretty sure you can do that with Fancybox:

$.fancybox({'href':'http://www.google.com',
'type':'iframe'
});


Fancybox - Fancy jQuery lightbox alternative
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2016, 02:09 PM   #3
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,135
Quote:
Originally Posted by Colmike7 View Post
Pretty sure you can do that with Fancybox:

$.fancybox({'href':'http://www.google.com',
'type':'iframe'
});


Fancybox - Fancy jQuery lightbox alternative

__________________
You mad as fuck because you suck.
You have no life.

blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2016, 02:14 PM   #4
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,232
Quote:
Originally Posted by Colmike7 View Post
Pretty sure you can do that with Fancybox:

$.fancybox({'href':'http://www.google.com',
'type':'iframe'
});


Fancybox - Fancy jQuery lightbox alternative


There are other options too, here's a good breakdown: https://www.sitepoint.com/jquery-lig...ybox-thickbox/
Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 02:15 PM   #5
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
depends what are you trying to display... There are some other ajax options too that are probably a better idea than iframe...
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 02:27 PM   #6
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 47,254
Quote:
Originally Posted by HomerSimpson View Post
depends what are you trying to display... There are some other ajax options too that are probably a better idea than iframe...
Any links, examples?
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 03:13 PM   #7
Adnium_Ivana
Confirmed User
 
Adnium_Ivana's Avatar
 
Industry Role:
Join Date: Jun 2016
Location: Toronto
Posts: 1,094
Do you have a visual example of exactly what you're looking to do? There might be another solution besides using FancyBox
__________________

Skype - ivana.gsmi
Email - [email protected]
[URL="https://adnium.com/ref/3168"]
Adnium_Ivana is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 03:16 PM   #8
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 47,254
Quote:
Originally Posted by Colmike7 View Post
Pretty sure you can do that with Fancybox:

$.fancybox({'href':'http://www.google.com',
'type':'iframe'
});


Fancybox - Fancy jQuery lightbox alternative
Thank you!!!
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 04:08 PM   #9
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by ********** View Post
Thank you!!!
Sure

Also, this might be that Ajax solution that they're talking about:

Magnific Popup: Responsive jQuery Lightbox Plugin
Magnific Popup Documentation
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 08:40 PM   #10
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,103
A productive thread FTW!
__________________

Adult Biz Consultant A tech head since 1995
RyuLion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 10:57 PM   #11
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
bootstrap modal.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2016, 11:00 PM   #12
Bladewire
StraightBro
 
Bladewire's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Monarch Beach, CA USA
Posts: 56,232
Quote:
Originally Posted by freecartoonporn View Post
bootstrap modal.
/endthread
__________________


Skype: CallTomNow

Bladewire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2016, 10:57 AM   #13
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 47,254
Quote:
Originally Posted by Colmike7 View Post
Pretty sure you can do that with Fancybox:

$.fancybox({'href':'http://www.google.com',
'type':'iframe'
});


Fancybox - Fancy jQuery lightbox alternative

Quick update: Fancybox works perfectly. Thanks much!

Quote:
Originally Posted by RyuLion View Post
A productive thread FTW!
Yeah really, on GFY even. Go figure!

Cheers!
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-01-2016, 11:01 AM   #14
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,224
Quote:
Originally Posted by ********** View Post
Quick update: Fancybox works perfectly. Thanks much!


Cheers!
Nice!
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
page, float, content, page1.html, page2.html, load, top, window, tks, iframe, bitches, display, hey, gurus, gfy, html5/css3, javascript, question, div, main



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.