« first day (111 days earlier)      last day (3677 days later) » 

user652649
4:58 AM
morning
 
8:39 AM
Hy, i have some code(HTML) which is not mine and i cant change it. I need to center some content on the middle of the page, but because HTML is pretty mess "standard" way of margin: 0 auto; wont work.

http://pokit.org/get/?d771ce1c20b6d8647496e3cc87e117af.jpg

I need that content on the middle of the page, but as you can see i have a bunch of div nested in each other so i suppose that is the problem(i add padding and border to each div to see clearly where is the problem)

Thanks a lot.
 
user652649
@Srle what can you modify?
 
i can add css code
 
user652649
can i see the page?
 
user652649
otherwise it's impossible to tell you what to do
 
html code ?
 
user652649
8:44 AM
html and existing css
 
@Mokkun hi
 
user652649
can i see the live page?
 
and this is part of css which affect that page: pokit.org/get/?bf25a5da0e92d17944dd6d77a7e3648e.jpg
 
user652649
@Srle doesn't help... provide a jsfiddle.net or i can't help
 
9:23 AM
morning
 
9:35 AM
heyyy guys!!
anyone here? I got a really urgent question! :/
 
just ask question :)
 
user652649
morning
 
9:55 AM
morning guys
how are you
 
Good thanks, you?
 
Hello... all I have a issue.... Jquery ModalDialog Hides Behind IFrameā€¦ what should i do to show over the iframe...
here is my stackoverflow question
0
Q: Jquery ModalDialog Hides Behind IFrame....

Rick JacksonI want to show a jquery modal dialog box over iframe currently it goes behind the iframe. so how can i show the jquery modal dialog box over iframe with re-sizing, dragging features. HTML CODE <div id="dialog" title="Basic dialog"> <p>This is the default dialog which is useful for displayin...

 
@RickJackson tried z-index ?
@Wes you maybe waiting a while, I tried, but failed.
 
yeah... but its not working... u want to see the jsfiddle link ?
 
@RickJackson sure, but it should be on the question!
 
10:16 AM
I have a problem with the jsfiddle can i send u the html file ?
 
@RickJackson no.
Use jsbin, codepen
 
okie...
here is the jsbin link : jsbin.com/esezIBA since google chrome is using its internal pdf viewer so its working there but the same is not working in IE 10, 9 , 8 since IE depend on Adobe for viewing pdf
@mikedidthis so please give me some solution on this
@mikedidthis give me ur skype id.... plz.. so i can share the screen with u
@mikedidthis I am having this problem since long time and i need to fix this problem..
 
@RickJackson my skype is $15 per minute, minimum charge of 10 mins. Please give me your credit card number and security code.
 
:D thats good...
 
@RickJackson no, its the truth. We are here to help if we can, we are not on demand help.
 
10:28 AM
ok mikedidthis... when ur free will u look into this
 
151
A: overlay opaque div over youtube iframe :)

anataliocsInformation from the Official Adobe site about this issue The issue is when you embed a youtube link: https://www.youtube.com/embed/kRvL6K8SEgY in an iFrame, the default wmode is windowed which essentially gives it a z-index greater then everything else and it will overlay over anything. Try...

 
@mikedidthis its working properly in chrome but the problem is in Internet Explorer...
 
@RickJackson I know, have you tried google or the solution above.
 
@mikedidthis I have tried the solution but its working properly in Google Chrome & Firefox but the problem is in Internet Explorer and Safari
Mozilla FireFox has its internal Pdf Viewer same as Google Chrome
but IE AND Safari Depend on Adobe so its not allowing the popup over iFrame
 
@RickJackson so I spent 3 mins looking and found a pretty good fix. Next time, instead of repeating the issue and pinging me, look
15
Q: <div> layer on top of PDF

MurvinlaiSo, the problem I face is like this: I have a layer, which it will be placed on top of a pdf on the page. The PDF is either using to embed, or iframe to include it. However, CSS style doesn't apply on PDF (because it is a plug-in? ). Therefore, even I put z-index:1000 for the , that layer still...

@Wes this was as close as I can get with proto. Now I will go cry as I need to have this complete today
var Images = function( $images ) {
    this.images = $images;
};

Images.prototype.getWidth = function() {
    return this.images[0].clientWidth;
};

Images.prototype.test = function() {
    console.log( 'test' );
};

(function() {
    var imgs = new Images( $('.lightbox') );
    console.log( imgs.getWidth() );
})();
Anyway... coffee!
 
 
1 hour later…
12:09 PM
@mikedidthis what is the point of this?
this.images is a colelction
this.images[0] is always the first image.
 
@rlemon ha, don't even ask.
 
I see potential here. I just need to know what the goal is
 
I was trying to use objects, rather than calling functions all the time
@rlemon its a rehash of Focus 2.0, the code I showed you. I wanted to create an object with images and the functions related to them. However I get really confused on what I should actually be doing.
 
how do you want to use it
images.resizeAll()
or
images.getWidth(index)
or images[0].getWidth()
define your API first ;)
 
Urm, getWidth would be for all of them
I will explain what I need to do.
I have a jquery collection of images. I need to set a different width for each of the image at the same time. Then I need to set a new src if the image is 'on the screen'. I was thinking about having a prop on the img object and updating this value if on screen. I should be able to bind an event listener to monitor the change and then fire the method for replacing the src?
 
12:30 PM
and what would be the basis for the new width of the images
> I need to set a different width for each of the image at the same time
 
@rlemon another function. This gets the elem parent width and then tests it against values stored via data attribs on the image elem
setSrc : function( elem ) {
    var set           = replaceImg.settings,
        parentElem    = elem.parent().is( set.ignoreSel ) ? elem.parent().parent( set.maxWidthSel ) : elem.parent(),
        parentWidth   = parseInt( parentElem.width(), 10 ),
        replaceWidths = [ elem.data( '1280w' ), elem.data( '500w' ), elem.data( '400w' ), elem.data( '250w' ) ],
        replaceImgs   = [ elem.data( '1280u' ), elem.data( '500u' ), elem.data( '400u' ), elem.data( '250u' ) ];
    for ( var i = 0, l = replaceWidths.length; i < l; i++ ) {
^ something as silly as that. Basically its look for what size will fit in the parent elem. first I scale the smaller image, later I replace it. Its to stop the 'pop'
 
1:11 PM
Anyway, don't worry about it too much. I know what I want to do, but just can't wrap my head around it. I appreciate the help anyway :D
 
1:24 PM
yea i'm dealing with my own phellp
 
@rlemon no probs, but having to google 'phellp'.
 
lol
 
1:43 PM
hi mike.
 
Sup!
 
 
2 hours later…
3:38 PM
Hey, I got a css issue anyone around to take a look really quick?
 
sure, just drop it in chat.
 
 
3 hours later…
user652649
6:12 PM
@mikedidthis still need help?
 
Mental help? Yes! :D
If you want to, sure but no pressure,.
 
user652649
ok, no, i was busy
 
No worries my man.
 
user652649
we are uploading and classifying press releases pdfs
 
user652649
about 3000 pdf files opened and checked today
 
user652649
6:20 PM
love my life xD
 
Nice change of pace then! :)
 
user652649
not really a change of pace, and not nice xD
 
Oh. I liked mindless tasks sometimed
 
user652649
eh, this one wasn't actually a mindless task... since we have a weird taxonomy
 
googles taxonomy
 
user652649
6:30 PM
 
I am not sure if this is the right place to ask this, but it might be achievable using CSS so here is the question (ASP.NET, AJAX toolkit): anybody have any idea on how to make the TabContainer header strip have smooth no-bar scrolling? I dont want to add a scrollbar, but rather when the user hoover all the way to the left/right it moves along the tabs
 
user652649
@JafarKofahi no idea what TabContainer is, try to ask in the asp.net room if there is any :P
 
@Wes ok then if I said a span
would that make a difference?
TabContainer would be represented as a series of spans
 
user652649
dunno without seeing code that you have
 
ok let me make a sample app that shows what I have
 
6:34 PM
Thanks wes
 
user652649
@mikedidthis sorry, made a mess lol, i'm trying again
 
I think I noticed.
Still suffers from the same problem.
For each method I add, I have to loop this.images
 
user652649
 
user652649
@mikedidthis is that a problem?
 
user652649
brb 10min btw
 
@Wes no worries
@Wes not a problem, but not really dry. I maybe best to create a new object for each image, so I can call them outside the logic, if that makes sense
 
user652649
7:04 PM
@mikedidthis isn't that what you do/i did in the example already with Image & Images ?
 
@Wes kinda, I think. But when I use the objects, I will want to reference them in two ways. 1) all of them 2) specific images.
 
user652649
yes but looping is necessary
 
user652649
wait, i understand what you want to do
 
user652649
basically you want to emulate jquery... a method that works both on a list of elements and on a single element
 
Yep.
That.
Is.
All.
I.
Need.
 
user652649
7:10 PM
asd
 
user652649
an example method you want to implement?
 
get a value from a data-attr and then apply it to an image.
 
user652649
or to a list of images, right?
 
yes.
ok so a method that adds a border to all images, then a method that removes a border for an image I pick?
That's like the last single piece I can't get my head around.
 
user652649
ok... i'm showing you
 
7:13 PM
if you like, sure, but as I said, don't worry too much about it, I am kinda gone past the frustrations and learning that I am limited by my skill set.
 
user652649
7:25 PM
anyway, having a single element as subject and a list too of the same class is wrong for get methods
 
user652649
what do you want i write? the proper inheritance code, or the "jquery style" one ?
 
@Wes the difference?
 
user652649
in functionality none, in logic an ImageCollection can't extend Image or viceversa
 
user652649
in oop when you extend a class
 
so you would have two parts. One being for all and the other for single images?
 
user652649
7:29 PM
you have to be sure to actually extend a class, without reducing features of the original class <- read that it's important
 
Read and understood
 
hey all
can anyone recommend a tool to deal with memory leaks in IE 9?
 
I won't lie, I would be curious to see both methods, but that's just down to being curious.
2
Q: jQuery - Internet Explorer memory leaks

jono1I'm developing an internal web application for use on the helpdesk on which I work, designed to be run fullscreen, all the time, on large TVs around the room, displaying relevant data for the guys taking calls. We're using Internet Explorer 8 on Windows 7 (company security policy doesn't allow fo...

 
Hello
 
mike 00 i checked out the builtin IE profiler and it didn't seem to do much, iirc, in the way of memory
sIEve looked promising but it keeps crashing on me
 
user652649
 
user652649
that shows why Image and ImageCollection are two separate classes
 
@Wes ok got it
 
debugbar seems to be more or less the same thing as the builtin developer tools
 
user652649
@PatrickCollins what kind of memory leak you have?
 
user652649
7:44 PM
profiler usually is good enough to show you where to optimize
 
i'm not certain, is the issue
i'm a UI tester and the software we use is quicktest pro
lately, IE has been leaking memory badly
quicktest allocates its memory in some way that makes it show up as IE memory usage, so it could be the cause, but i've tried pretty much everything i can think of on the quicktest side to fix it
i'm looking for a tool that can say "oh look! IE is using 1.5 GB of memory. here are some sources where it's coming from: javascript, javascript, <huge unintelligible block of data allocated by quicktest>, javascript"
 
user652649
profiler is good enough... that tool is the developer tools' profiler
 
okay -- where can i find out about what's using up memory in the IE profiler?
all i could find were things like how many times a given javascript function had run and how long it took
 
user652649
 
user652649
i don't remember atm, but i think there is a column saying how much time a function execution took
 
7:53 PM
how would i relate that to the size of a memory leak?
 
user652649
@mikedidthis that is the 1st method
 
OK...
 
user652649
@PatrickCollins ok i see what do you mean... no clue actually
 
user652649
why don't you try to isolate smaller code pieces?
 
7:56 PM
i don't know if javascript/the webapp itself is the issue at all, it could very well be the plugin responsible for UI testing
 
Its trial and error sadly. Is ie9 the only browser I presume?
 
yes, per company standard
 
user652649
oh, yes, it could easily be that
 
user652649
try to do some manual testing
 
yeah, i was considering firing up selenium or something and setting that to click around the site for a few hours
 
user652649
7:58 PM
the only memory issue i have ever had with msie is with the 'resize' event
 
resizing the window? how so?
the issue is that the combo of the UI testing tool and IE 9 has recently become unusable because it causes a memory leak, but i've rolled back all of the changes recently made to the testing tool and the issue is still there
 
user652649
as opposed to standard browsers msie fires 'resize' event on single elements too, so basically if you have a fluid layout when user resizes the window the resize event is fired on every element that is fluid (N%) and event bubbles up to window. for each element you have
 
user652649
so potentially hundreds of times
 
interesting
 
user652649
yeah, and annoying :P
 
8:02 PM
thanks for the tip anyway
 
user652649
yw i wish i could help more... if i were you i would try manually to cause the memory leak, testing small pieces of code at once
 
yeah, it's just difficult to tell where the problem spots are because it doesn't always happen at the same time
i think i may have found a rough region to look around in though
 
user652649
@mikedidthis traits are a way to reuse code but without affecting the inheritance chain... also called mixins
 
Ahh OK, I read about mixins.
 
Hi
 
user652649
8:09 PM
http://pastebin.com/GB29MuBQ at line 29 should be:
FocusImageCollection.prototype.setAttr = TraitFocusImageOrImages.setAttr;
@mikedidthis
 
user652649
sorry i'm ko
 
Ahh right, I get it, thank you so much!
 
I'm having an issue with with a bunch of text overlapping my image, and I have not idea, where is the bug. I'm using the bxSlider. It works fine in Firefox but not in Chrome.

this is my code: https://gist.github.com/jmercedes/64893abeb91e616cf860

what should I consider to fix the issue?
 
user652649
 
user652649
hello @evanx
 
user652649
8:19 PM
@evanx live page?
 
user652649
@mikedidthis thoughts?
 
user652649
@evanx try to remove height:620px in #header
 
user652649
that causes the issue
 
8:35 PM
Nice man, I will try in the morning, I am as you say ko
 
user652649
kk
 
Thanks Wes.
 

« first day (111 days earlier)      last day (3677 days later) »