Replies

Aug 7, 2015 10 years ago
KatRaccoon
don't want no scrubs
User Avatar
Vinayak

Okay, so this is sort of a weird question. I'm currently coding my first ever pet lookup, and I obviously can't see the "nominate for pet spotlight" link while logged in. However, when I look at the page while logged out, the link doesn't appear clickable. In order to verify for myself that it is indeed clickable, I would have to have another account to log into, but I do not.

So my question is - are the pet spotlight nomination links normally unclickable if you're not logged in? Or is the way I coded it somehow causing the link to be unclickable?

For reference, this is the pet I am referring to: Vinayak

(In addition to that, the books read and food eaten links are missing, which is mainly why I think I screwed up somewhere.)

Forum image by Sinjun

My tumblr ----- My website

Aug 7, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

hm, oddly the nomination link does not appear to be clickable and i'm not sure what could have caused that; looking at your code, i don't see anything you've done oddly that would make it un-clickable.

as for the books read and food eaten links, it looks like you have this in your code:

a{display:none;} if you remove that line, they should show back up.

[edit]the spotlight link being unclickable might have something to do with z-indexes? basically that means it is technically layered behind something, so when you try to click on it you're actually clicking on something in front of it. maybe try this, adjusting the z-index number as necessary.

.pet_spotlight {position:absolute;top:573px;left:530px;z-index:5;}

[flower=Frenchi]

Aug 7, 2015 10 years ago
KatRaccoon
don't want no scrubs
User Avatar
Vinayak

Oh! That z-index solution seems to have worked! Goodness, thank you so much - I've been struggling with this for a while, so it's a relief to finally know what the problem is. :)

As for the books and food links, I've actually tried removing that particular piece of code before, but it causes the entire sidebar to show up for some reason (as well as some other things I don't want or need). But that part isn't quite as important, so I can figure out a workaround for it later. Thanks again for your help!

Forum image by Sinjun

My tumblr ----- My website

Aug 7, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

glad to have helped with that bit.

when you removed that, did you leave the {display:none} for the other parts (i.e. , , etc)? because if you removed the {display:none} then those things would all show up again, yes, but if you only remove the a then it should be fine. sorry, i didn't notice when i was looking at your code that the {display:none} was being applied to more than just the a. if you haven't already, try removing just a, and leaving {display:none}.

if that doesn't work… maybe you could code the food and books in manually? those divs are and .

[flower=Frenchi]

Aug 7, 2015 10 years ago
KatRaccoon
don't want no scrubs
User Avatar
Vinayak

Hmmm, yeah. When I remove either the a or both a and {display:none}, everything comes back for some reason. It might be the way I have everything else coded, somehow? I don't have a separate line for each thing I want removed, but instead have them all bunched together under a single {display:none}.

The weird part is, both the books and food divs are already there, so I'm able to move them around, but not much else - it's just the links that aren't showing up. I even tried the same solution that allowed the pet spotlight link to be clickable, but that didn't work either.

Forum image by Sinjun

My tumblr ----- My website

Aug 7, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

ah, i see now. you're right, the books read and food eaten sections are there but the numbers/links are missing; same with the job. it's very strange, i'm scouring the source code and i can't see any indication of why this is happening, either on your end or the site's end. hm…

[flower=Frenchi]

Aug 7, 2015 10 years ago
KatRaccoon
don't want no scrubs
User Avatar
Vinayak

Yeah, it is pretty weird... I'm sure I'll find the solution sooner or later, though, no biggie. :) Thanks so much for all of your help, regardless!

Forum image by Sinjun

My tumblr ----- My website

Please log in to reply to this topic.