magnific-popup


Magnific Popup onload calling a url


I have an static HTML page I want to pop up using Magnific Popup when the page loads. In the examples on the site he only shows clicking a link that has the url of the page. I don't want a link but just page load. How do I get the url to be called without a link? I have the onload figured out
$(window).load(function () {
$.magnificPopup.open({
type: 'ajax',
showCloseBtn: true
}, 0);
});
So for example I want test.html to show up in the popup onload. Not sure how this is done.
You can initialize the magnific popup with a DOM Element created by jQuery and then click it. For example:
$(function() {
$('<a href="test.html">').magnificPopup({
type: 'ajax'
}).click();
});
If you need the link appear in the page, then just use appendTo function after click.

Related Links

Magnific popup scroll issue
Does it only work on wordpress?
Magnific Popup scroll issues with iframe and iOS
How to apply magnific pop to image preview after revoke the object url
How to override magnific popup inline markup
Magnific pop-up only links to you tube
Magnific Popup close button placed in invalid html?
Magnific Popup - Google Maps Embed API must be used in an iframe
Magnific Popup Plugin Not Showing when Previewed in Browser
Magnific Popup Wordpress
Magnific vs PhotoSwipe
How to adjust video size magnific popup
$.magnificPopup.open() callbacks is not working
How do i setup magnific-popup
magnific-popup - re-initiate on ajax content
Magnific-popup cancels all requests on open

Categories

HOME
ms-access
osgi
view
lodash
google-oauth
sqlite3
google-project-tango
ravendb
ezpublish
portia
pheatmap
here-api
u-sql
timeout
n-gram
zebra-printers
decimal
jsprit
telephony
pc
finite-automata
jasonette
ehcache
excel-2007
smb
url-scheme
info.plist
bootstrap-material-design
elasticsearch-net
instant-messaging
pdb
pim
caret
plsql-psp
trim
email-templates
businessworks
powercli
colorama
lift-json
libusb-win32
parallel-data-warehouse
mathematica-frontend
qpid
markojs
maven-tomcat-plugin
simple-framework
tmuxinator
spidermonkey
purge
libressl
security-testing
tableau-online
sysinternals
appfabric-cache
cisco-ios
proj4js
e10s
geonetwork
offloading
operator-precedence
nsbutton
websocket4net
internet-connection
php-5.4
kgdb
rtmfp
typo3-neos
mcts
ftps
back-stack
spring-validator
wsdl-2.0
browser-detection
bitsharp
bluepill
viewswitcher
ocx
regsvr32
subscript
php-parser
zpt
mod-auth
genshi
coda-slider
gin
compiler-specific
ctp4
simpletest
anti-piracy
zend-decorators
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App