martinbennett
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadis it possible to have the autoload on the first / home page of the domain but not on the other pages or posts?
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadjust noticed a problem in safari and firefox the autoloader works but if i close the shadowbox layer and click on another page link it loads the layer again.
I need it to only autoload on the first page: you can see it in action here
https://test.martinbennett.com
if you click on contact or Biography (which are pages) the shadowbox layer loads on top.
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadthank you that works a treat!
Martin
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadok but where do i place the second code?
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadi added the shadowbox javascript to the header.php as you suggested.
do i add the function to load something:
openShadowbox(‘https://www.martinbennett.com/uploads/portfolio/index.html’, ‘html’, ‘Martin Bennett – Photographer’);also in the header.php or do i place it elsewhere?
I tried it after the first code but nothing happened…
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadi have tried to get the autoload function to work but with no sucess
<script type=”text/javascript”>
var openShadowbox = function(content, player, title){
Shadowbox.open({? ? ? ? content: ? ?‘https://www.martinbennett.com/uploads/portfolio/index.html’,
player: ? ? ‘html’,
? ? ? ? title: ? ? ?‘Martin Bennett – Photographer’
? ? });};
</script>
i placed this in the header.php of my template is that correct?
Any help would be apreciated
Many thanks
Martin
Forum: Plugins
In reply to: [Plugin: pb-embedflash] loading…does your plugin use version 1 or 2 of shadowbox?
I think this might no be a problem in version 2 of shadowbox as the close layer is a graphic and not text.
Forum: Plugins
In reply to: [Plugin: pb-embedflash] loading…It also appears when using a jpg image.
I think it has something to do with the fact that I edited the Close function text to read Back to blog
If i Change it back to Close no text is displayed. on either the jpeg image or html page.
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadIn your very first response you suggested that it was easy to implement a javascript to automatically load shadowbow / pb-embedflash. I would like to set up a splash page that automatically loads a jpeg. Could you help me with the code?
Many thanks
Martin
Forum: Plugins
In reply to: [Plugin: pb-embedflash] shadowbox.cssThank you!
That works perfectly.
It would be useful to have the same function for a custom loading image.Also on another note when i upgrade and go to the shadowbox settings all of my setting are retained, except the text for “loading & “cancel” i normally delete this text so nothing is displayed. is it possible to retain my setting for these two fields as well?
Many thanks
Martin
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadMany many thanks it works a treat.
Ill buy you a beermartin
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadHello
Dont want to be pushy but was wondering if you had any time to look into the page link problem?
Many thanksMartin
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadi tried your solution but i get errors. or nothing happens. (i must admit i am no programmer!)
i created a .php page for my wordpress page link called overview.php and set up the page Over to use this template. And inserted the shadowbox code into it. But no popup layer…
My blog url is https://www.blog.martinbennett.com/
and the page link i want to call the html flash file from is https://www.blog.martinbennett.com/overview/I hope you can help
Many thanks
Martin
Forum: Plugins
In reply to: [Plugin: pb-embedFlash] Automatically open on page loadThe best solution or more elegant would be the second one. But if its not possible it would also be ok to load the shadowbox overlay after the page link had finished loading.
Many thanks
for your help