All Questions
116 questions
0
votes
1
answer
130
views
JS Fetch Another HTML File But Some Divs Missing
I am fetching header.html from /layout folder to index HTML.
its works but some div elements are missing.
I checked the incoming data. in there also missing
console.log('import file success');
...
3
votes
1
answer
41
views
Append table with position is not exactly showing where it was
I am developing a website with Jquery-ui draggables. In the parent div block "container" there are many child draggables which allows user to freely move around the div block.
<div ...
0
votes
1
answer
90
views
Gantt Highcharts layout cutoff
I have created a gantt chart after processing an incoming data. Data is coming right but last row is not displaying properly (getting cutoff). I have checked it for long time but unable to figure out ...
0
votes
1
answer
20
views
Reducing the size of the picture
How can I reduce the size of a picture in js?
Imagetarget
// такой же код, что и код выше - только для черных пунктов меню типа Моноблоки
let categoryflag='';
$('....
0
votes
1
answer
49
views
Button center layout
There is a website
$(document).ready(function() {
$('.header__button').click(function(event){
$('.header__button').removeClass('lilac');
$(this)....
1
vote
1
answer
109
views
How can I stop my center div from changing position after I SlideUp another divs?
I'm creating simple page with a <header> and a <section>. In the section I have 3 divs and I am positioning them with display: flex; and justify-content: space-between.
The problem is that ...
1
vote
0
answers
2k
views
html pdf Invoice Width and height Issue
My code working fine,but i have an issue in page layout.When i print this file it provide the print in two pages,i want print on one page.And other issue is i want to convert this invoice into pdf ...
0
votes
1
answer
69
views
How to reorder DOM flow
I have the following layout problem. 4 blocks one after the other a1,b1,a2,b2 in a column on mobile.
On the desktop I want to get a1,a2,b1-b2 that is a1 followed by a2 followed by b1-b2 on same row ...
1
vote
1
answer
144
views
Why doesn't my nav bar hide when scrolling down and appear when scrolling up?
So I've tried adapting this http://jsfiddle.net/mariusc23/s6mLJ/31/ code to my webpage so that my nav bar hides when scrolling down and appears when scrolling back up, however it doesn't seem to work ...
0
votes
0
answers
83
views
JS/jQuery library adds style to all children which is not accepted
I am using this JS lib - Magic Grid to add a nice layout to items on the page.
This is body:
<div id="grid" class="container">
<div class="row">
<div class="item1"></...
0
votes
1
answer
74
views
How to make "big" rollover images that don't move the other adjacent items in the layout?
I made a photo album of what I hope to achieve, but it basically goes like this:
1) A row of 4 base individual images .
2) On rollover/hover of each image, a bigger one is displayed, directly in the ...
0
votes
1
answer
147
views
Refresh div without layout
i want to refresh a div without layout page only div.
The problem is layout doesnt refresh but i cant access the other tabs because all of page is refreshing.So how can i refresh only div=IsEmri?
...
0
votes
0
answers
44
views
javascript confirm dialog not working after adding some other JS code
i have this code, what usese the container layout (jquery.layout):
$(document).ready(function () {
var myLayout = $('#container').layout();
var containerWidth = myLayout.state.container.innerWidth;
...
0
votes
4
answers
324
views
How to create two column layout with separate scroll bar each column
I am relatively new to UI Development. currently I'm trying to create a two column layout web page as below,
both side bav bar and main panel should stay in display width.
if the content is overflow ...
0
votes
0
answers
46
views
js not being passed from layout to views in sails
I added jquery and other js files into assets/js, they appear correctly on layout.js but i keep getting this msg 'Uncaught ReferenceError: $ is not defined', on page source code i can see that the js ...