Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:¿HOW TO? Large images scroll (1 viewing) (1) Guest
Go to bottom Favoured: 3
TOPIC: Re:¿HOW TO? Large images scroll
#30865
Did you test this with IE? 1 Year ago  
It seems to work on Firefox but using IE 7.x causes the width to shift to the max size that is specified in the css.

-Greg
grmi64 (User)
Junior Boarder
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Gender: Male grmi64 Location: Cobb, CA Birthdate: 1964-12-20
Logged Logged
 
The administrator has disabled public write access.  
#30867
Re:Did you test this with IE? 1 Year ago  
Greg, what solution do you refer?
Php code edit or CSS?
kerman (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#30878
Re:Did you test this with IE? 1 Year ago  
grmi64 wrote:
It seems to work on Firefox but using IE 7.x causes the width to shift to the max size that is specified in the css.

-Greg


I've tested it with IE 7, Firefox and Safari for Windows, and it works fine in those browsers. You can see it in action here.

The width specified for div.msgtext in the CSS should be equal to the total width of your page (in my case 868px) minus left column and margins.

Note that IE for some reason always adds a vertical scrollbar as well as a horizontal, even though it is really not needed.
webstudent (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#41523
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
kerman wrote:
[quote]I got the solution thanks to Carreon from Joomla! México

The thing is create a iframe in the correct template:

components/com_fireboard/template/default/smile.class.php

Find the code:

[code:1] // img
$fb_message_txt = preg_replace("/[img size=([0-9][0-9][0-9])](.*?)[/img]/si", "", $fb_message_txt);
$fb_message_txt = preg_replace("/[img size=([0-9][0-9])](.*?)[/img]/si", "", $fb_message_txt);
$fb_message_txt = preg_replace("/[img](.*?)[/img]/si", "", $fb_message_txt);
$fb_message_txt = preg_replace("//si", _LINK_JS_REMOVED, $fb_message_txt);[/code:1]


EDIT: And replace with the screenshot code two post downhere[/quote]
I can't find this Anywhere in smile.class.php
nanaya (User)
Senior Boarder
Posts: 215
graphgraph
User Offline Click here to see the profile of this user
Gender: Female This Is Kawaii Location: Aloha Land
Logged Logged
 
Automatic Filter Message : Please follow the forum rules for forum signatures...Thanks
 
The administrator has disabled public write access.  
#41524
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
juanma wrote:
webstudent wrote:
You could use a small piece of CSS to display a scrollbar when a picture is too wide.
Just put the code below into your CSS file. You will probably need to change the width to match the width of your template.

/* Restrict the width of forum messages */
td.fb-msgview-right table tr td div.msgtext
{
width: 666px;
overflow: auto;
}


Uauh! Many thaks, This works correctly and is what it was looking for. Modifying the code in smile.class I have had many problems but this goes better.

Thanks!


Hello, one think: this piece of CSS works Fine in Explorer and Firefox but dont´t work in Safari.
juanma (User)
Junior Boarder
Posts: 73
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#41643
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
nanaya wrote:
kerman wrote:
I can't find this Anywhere in smile.class.php


I couldn't find it either using FB 1.0.4.
450Thumper (User)
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#41650
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
Anybody here try Multithumb?
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
#41651
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
I tried multithumb and received user complaints because of load times.
450Thumper (User)
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#41652
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
Yes. It will do that. The only drawback I've found actually.
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
#41655
Re:¿HOW TO? Large images scroll 9 Months, 4 Weeks ago  
I have changed the CSS sheet as described above and hopefully there won't be too many Safari users on the site. Now if we could just get the multi-upload image to work w/ FB 1.0.4, I would be all set!
450Thumper (User)
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top