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

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
Magnific Popup fails to work with multiple galleries on a page
magnific-popup open in parent when calling from iframe
Magnific popup iframe closeOnBgClick does not work
Magnific Popup Text Links

Categories

HOME
pandas
proxy
azure-data-factory
mediawiki
mfc
fft
session
octobercms
amortized-analysis
leon
in-app-purchase
cloudkit
dax
quickbooks
apache-cayenne
windows-phone-7
serverless-framework
clearcase-ucm
clojurescript
systemc
undefined
reverse-proxy
visjs
ehcache
crosstab
crystal-reports-2010
emgucv
sqlcipher
microsoft-sync-framework
status
fgetcsv
wtx
msys2
windowbuilder
r-raster
google-cloud-endpoints-v2
typed.js
protovis
cloud-code
force-layout
mapdb
picasso
io-redirection
space-complexity
reportbuilder
opshub
lumberjack
optix
fedex
grid.mvc
firebase-admin
node-sass
.net-4.6.2
sas-jmp
skeleton-css-boilerplate
wso2carbon
jsch
datastax-startup
veracode
slickedit
minimization
topbeat
specrun
root-framework
deadbolt-2
instant
passport-google-oauth
twirl
sniffer
apache-commons-net
camanjs
html-helper
zend-route
terminfo
heisenbug
starcluster
braille
message-driven-bean
.aspxauth
sitemesh
unc
nsnetservice
google-email-migration
armcc
twrequest
postgresql-performance
window-management
gnustep
coercion
locationlistener
lpeg
h.323
gallio
suppress
vc90
rescale
perfect-hash
firefox-5
compiler-specific
firefox4
text-coloring
geneva-server
multiple-languages
windows-live-messenger

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