Curtis Thompson
Forum Replies Created
-
hello…
no link? also – we’d need to see your page, not their standard examples…
sitruc
-
hello…
can you provide an example page? i don’t know what shadowbox.js is (outside of being a script that i assume creates a shadowbox automatically for any specified block element)…
sitruc
-
cool! so what font was it?
-
-
ya – sorry – my bad. just re-read your post… 🙁
it looks familiar but i don’t know the name – have you tried this yet:
sitruc
-
hello…
if your accordion is not in a global file then ya – it will be hard to do, but if you want to change the height of the iframe as the page height changes, you will have to do something similar to what i’ve described here. there is no quick fix to tell a component to automatically resize itself to a specific height in relation to another element…
w/o seeing your situation, i can’t say, but you could also potentially make the height of the iframe a % value, but i doubt it would get you what you need…
hard to offer much else w/o a working example of your site, i’m afraid…
sitruc
-
-
hello…
short answer is that you need to adjust the height of the iframe as the page height changes…so any time you change the height of the page via some other element, you need to figure out the page height (search “page height javascript” (sans quotes) in google to learn more about that) and then assign that height (or some subset of it) to the iframe…
sitruc
-
hello…
not a code problem, actually. webservers all run under a specific user (not the user visiting, but a single user account on the server) that, by default, has very limited rights on the box for security purposes…
so your uploaded .txt file cannot be written to by the php code, which runs under that user. to fix this, you need to change the permissions of the file on the server to allow write access to the webserver user account.
w/o knowing anything about your hosting account, i’d have to refer you to your isp, who probably has docs on changing file permissions on their site. you can do this with most ftp software or via command line on a shell, but your isp might also have a gui file manager in your control panel area that can do it as well…
hope that helps!
sitruc
-
hello…
you can either do frames or overflow divs. this is very old, but it explains how to change a frame’s url from another frame via javascript:
https://www.irt.org/articles/js015/index.htm
as for overflow divs, you can learn a bit here:
https://programming.top54u.com/post/HTML-Div-Tag-Overflow-CSS-Style-Scrollbars.aspx
the concept there is that it’s all on the single html page (unlike frames), but you apply a height to the div via css and then any content that is greater than the height gets the scrolbar treatment. then you can just change the innerHTML (or do a src swap or something) of the div that has the movie…
hope that helps!
sitruc