Hi I have a problem with opening article in modal in joomla 2.5 template when using firefox.
When I use crome or ie everyting is fine, but firefox and opera, doesnt work, any idea how to solve this problem?
link to website
Try changing the modal.js file or the uncompressed-modal.js file. There is an if statement that sets the condition.
For reference, please, look here.
I hope it helps you.
Try changing those lines. It worked for me.
I put in head of my template code:
<?php JHTML::_('behavior.modal'); ?>
and create link like this:
<a class="modal" href="index.php/article?tmpl=component" rel="{size: {x: 500, y: 400}}">article</a>
This all works fine as I said in chrome, ie, safari. But doesnt work in firefox and opera.
on my site you can see example... nemanja.me
Related
link to project files: http://full-stack.fr/uploads/6/
Any suggetions ?
thanks in advance
Try disabling all chrome extensions and try again. Since they might be adding some extra divs to the DOM, thereby interfering with the
document.getElementsByTagName("div")[0] statement.
On firefox browser, the document.write() method is not working. I also tried with document.open() and document.close() but it did not work.
<script type="text/javascript">document.write("hello");</script>
There is nothing wrong in terms of syntax with that code as I just tried it and it definitely works fine. Chances are the problems you're having are more fundamental rather than language specific.
Although the document.write function is javascript you have wrapped it in a script block which is an html element. In order for this code to run in Firefox or any browser for that matter, you'll have to save it as an html file before you can open in a browser.
you can try:
document.body.innerHTML="hello";
Please open this fiddle with both firefox and Chrome.
http://jsfiddle.net/mattdevo/5bdDd/
as you may notice, text flows past div in firefox.
What is my mistake? (removing strong tags did not help...)
Thanks,
You're using display:-moz-box;; if you really need it you should also add -moz-box-orient: vertical;
Using a Firefox only display type leads to incompatibility, that's normal.
If you remove
display:-moz-box;
This works in FF as in Chrome.
ive been finally polishing off a website i was building but to my dismay i recently checked the website in Internet Explorer and found the images weren't loading fully.. you can see can the borders for the image but nothing loads in between. i thought it might something i altered on wordpress, but the main page has images from from non wordpress html files and they don't load either.. everything works fine on every other browser except Internet Explorer.. any ideas why? probably a simple fix
here's the website.. . all the code and css is viewable there, if you want my wordpress code let me know
maybe the code just needs to rearranged to make window browsers happy?
any help would be great
Looking at the source for the shop.html, it looks like you are specifying the height of the images, but not the width. Opera, and Firefox are ignoring the width="" and using the default width, but IE is setting it to width="1." I don't know how to change this in Wordpress but if you remove the width="" or add a value it will show correct.
You can see this if you r-click the image line in IE and select properties: it shows as 1X290px.
img src="images/shop/julianduron.jpg" width="" height="290"
hope this helps
Ok. I have some experience with HTML and CSS, little with Javascript and none with JQuery.
And I'm trying to try out in my HTML file the Galleria plugin with fullscreen theme but I can't make it work. ( http://galleria.aino.se/ )
It only show the empty page with no pictures. I took the source code from the demo page and I pasted in my page and after some little modifications with the url of the theme, I managed to have on my screen only the image, without the "mechanism". Any help?
I think the instructions were made for an old release of the plugin and that's the reason I can't get it work.
P.S. I found a ready made demo on googlecode, but I can't get the fullscreen feature. Any help?
Try passing debug:true to yield more errors if you are seeing a blank page. Regarding customizations, try the documentation and API reference.