JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jun 29, 2014 12:06:10 GMT -8
Hi! Quick question! I am testing out a rotator on my test forum here - aludiumtest2.boards.net/As you can see from where it fades out and in, the boards are hidden beneath. I can move the boards to beneath the rotator if I change the rotator_contain to have a fixed height, pushing the boards down. However, I have altered the rotator to always be 100% width and for the height to auto adjust to match. Therefore the same percentage of screen is always covered but the height differs on other people's screen resolutions. Ergo the fixed height not being workable. I'm assuming that the issue is coming in somewhere in the rotator's display settings but I've tried to edit the CSS display properties of both the container and the rotator itself to no avail. Please can someone tell me what I'm doing wrong and, preferably, present me with a CSS solution? Many thanks!
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 1, 2014 4:02:40 GMT -8
bump?
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 1, 2014 10:00:35 GMT -8
I'm not sure if I can help you but can I ask where you got that rotator from as it looks awesome!
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 1, 2014 10:17:41 GMT -8
Hi Hawkeye, The rotator is a simple list of images with a javascript code that rotates them. some CSS keeps them in the right place and with a width of 100% and an auto height it adjusts to the size of the screen viewing it. The javascript I *mumbles* nicked from another site* and played about with to get it to work. The images it's rotating, I made myself. As I say, I'm just trying to imbed the damn thing so that I can work on it, only, at the moment, customisation is limited when it's not in an editable <div> or <td>. :S
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 1, 2014 10:28:03 GMT -8
The only thing I can think of is using css to set a min height which is the minimum height it should be for your smallest resolution in px and a max height for the maximum height it should be and then use height: 100%;
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 1, 2014 10:31:52 GMT -8
The height isn't the issue. It's the fact that it's div overrides the rest of the following page, masking the following board, which I need to follow on just as a normal table would. I'm not sure why it's not doing it right from the start. I can only assume that there's something up with the code I'm using that I don't know - probably in the java, where it puts it above other page content. I need it to be in line like a normal table cell. :S
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 1, 2014 10:36:17 GMT -8
Can I play with this on my own site by taking the code direct from yours?
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 1, 2014 10:47:21 GMT -8
This is the internet. I can't stop you
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 1, 2014 10:59:27 GMT -8
abstractive.freeforums.net/ < I'll be playing with it on this site so you know, when my net lets me use it I've got it semi fixed but I could really do with the site you got the javascript from if you could send me the link
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 1, 2014 15:08:33 GMT -8
I think it MIGHT be this one - but I'm not sure.... The little events fader on the side bar to the left.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 1, 2014 22:52:07 GMT -8
Without knowing where they got it from its really hard for me to check for any instructions and at this point unless you can find the site it comes from originally I don't feel that I can help longer
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 2, 2014 1:37:11 GMT -8
Sorry no. I've looked back and that is definitely the site I got it from. I have no idea where it comes from originally. :S
Do you know if the issue is in the Java then? I thought it might be in the placement or the css display settings.
How did you get it to work for the first image on your forum?
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 2, 2014 2:15:43 GMT -8
I've since changed to something that's not stolen from the source. I won't help someone who's stolen from the source. I'm using a different code on Abstractive now that is from a tutorial not ripped.
|
|
JD
Full Member
Posts: 771
inherit
180643
0
Sept 27, 2024 15:01:41 GMT -8
JD
771
June 2012
obsidian92
|
Post by JD on Jul 2, 2014 2:26:04 GMT -8
Hi! It looks like the one on your forum works but when I tried to transfer it to my site, it didn't seem to work right :S It had a couple of issues including my original one, so I've gone back to what I had.
I've worked out that it's the position:absolute; property under my rotator css that is causing the issue. Without it the images don't overlap and create the fader, but with it, it also sucks the forum underneath too.... :S
I'm wondering if it will work if I didn't have that property for the final element of the fader. Would that work? And if so, can I do that with id's in the ul/li tags?
EDIT: My God, it's a function code. I haven't nicked their personal creation. Chill out. How many codes on any one forum do you think anyone has actually written themselves, because I can tell you not every owner of a forum can write javascript. If ripping was so horrendous the internet wouldn't have invented Ctrl+U.
On a side note, I have also edited that code, the css and it's use to the extent where it's barely the skeleton of what it was on the source. had I simply nicked their design, images and how they had placed it I would agree with you, but all I've tried to take is the ability to fade one image into another. How I've used it is completely original, as is 95% of the code now.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 2, 2014 2:32:44 GMT -8
How would you feel if you'd worked hard on a custom code or worked on finding a code ON the internet and someone else just ripped straight out your source
|
|