[SOLVED window width JS disabled in v3.0.8] Slight movement toward the right and return

More
9 years 2 months ago - 9 years 2 months ago #56958 by philippeg
Hi

whenever a view displays flexcontent there is a movement to the right of one or two pixels. in sites or coexist normal views of joomla and flexi seen although the view flexi move and not that of joomla
This movement is very unpleasant and fatigue.
It's seems you have the same movement on this site.
Last edit: 9 years 2 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #56959 by ggppdk
Hello

that is JS code of function
Code:
function fc_recalculateWindow() { ... }

inside file:
components/com_flexicontent/assets/js/tmpl_common.js

- it recalculates the window width, making sure that no horizontal scroll bar appears for the window
this was needed by older versions of carousel template, (and custom copies of it)

i think we can remove it, as it seems no longer needed, try this, replace the function with:
Code:
function fc_recalculateWindow() { // reset popup overlay containers ... TODO add more ? jQuery('#OverlayContainer').css("height", jQuery('body').css('height')); }}

-- Then click CTRL-F5 or similar in your browser to force download of the updated JS file immediately


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 9 years 2 months ago by ggppdk.
The following user(s) said Thank You: philippeg

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #57082 by philippeg
hi

are the changes include in 3.0.8 ?

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #57083 by ggppdk
Hello

yes click CTRL-F5 (windows or similar) to force browser to use new JS immediately


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: philippeg

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #57090 by philippeg
Hi,
the reason of this question is that it seams i have always the same little movement on my site between flexi compoments and others joomla componants in my case jdownload and contact; jdownload and contact no movements between them; two flexi a category and direct to an item no movements but the first ones with the two others yes a movement ....i asked my self if it was not the same issue somewhere else ..

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #57091 by ggppdk
Hello

- we removed the JS code for the browser window wodth
other than the page above the page contents are different

the browser will just render the page contents,
according to CSS, also some HTML contents maybe added after page load finishes, and running the JS code of component, of template and of 3rd party extensions

my guess is that there is CSS difference between 2 pages,
- e.g. with 1 component the module positions have margin 1% and with the other component some CSS may make the page have 2% margin

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.097 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline