Help with 3D Layer Position Expression
Hi All,
I do hope some one can help me – I have been looking and trying to solve this expression problem I have run in to - I only have limited expression knowledge.
I need to move a layer in 3D space, only the Z axis: from lets say -50 to 0 (based on the start of the layer) and then stop and then move 0 to 50 (again based on the end of the layer)
I have multiple layers of different lengths that I want to add this to…then just adjust the layer to the time to be displayed on the screen.
I have used some code from Harry Frank, his AUTO FADE code (which is a god sent) and have tried to make the above movement possible, with sections of the code, its close but no cigar – the code:
//Auto Move Z
x = 0;
y = 0;
z = 50;
transition = 20; // transition time in frames
if (marker.numKeys<2){
tSecs = transition / ( 1 / thisComp.frameDuration); // convert to seconds
linear(time, inPoint, inPoint + tSecs, thisLayer.position + [x,y,z],0) - linear(time, outPoint - tSecs, outPoint, thisLayer.position + [x,y,z],0)
}else{
linear(time, inPoint, marker.key(1).time, thisLayer.position + [x,y,z],0) - linear(time, marker.key(2).time, thisLayer.position + [x,y,z],0)
It is moving but it’s moving on all axis and the OUT is moving backwards instead for forwards. Plus is has moved from the centre position.
Any help would be most appreciated, thank you in advance for any help!
Cheers Breon
Message was edited by: breonsnow - spelling
Ooops. There was an error in the last line. Hopefully you caught it. If not, here's the corrected version:
z = 50;
tf = 20;
tSec = framesToTime(tf);
if (time < (inPoint + outPoint)/2)
linear(time,inPoint,inPoint+tSec,value-[0,0,z],value)
else
linear(time,outPoint-tSec,outPoint,value,value+[0,0,z])
Dan
Similar Messages
-
Need Help With Download For Airport Express
Ok, computer dummy here needing help with airport express. We were given airport express last night from a friend who recently purchased a newer gadget. He told us we would need to come here to download the operating system. I see lots of links to updates but no links for someone like me who has never had anything like this on my computer before. Does anyone know what link I would need to use? We have a pc with windows XP. Thanks so much for your help!
Hello jesschambers. Welcome to the Apple Discussions!
The AirPort Express Base Station (AX) doesn't have an "operating system" per se, but it does have built-in firmware which pretty much is the same thing. In addition, in order to administer the AX, you will need the AirPort Admin Utility for your Windows PC.
Here are the links for the latest versions of both:
o AirPort Express Firmware Update 6.3 for Windows
o AirPort 4.2 for Windows -
Help with Java and Regular Expression
Hello,
I have one line of Java and regular expression that I got from the web :
String[] opt;
opt = line.split("\\s+(?=([^\"]*\"[^\"]*\")*[^\"]*$)");
If "line" contains :
1 "Hello World"
this code would give me :
opt[0] : 1
opt[1] : "Hello World"
which is almost what I would like to do except for the double quotes. I wonder if someone could please help me change the regular expression so that it would return :
opt[0] : 1
opt[1] : Hello World
Thank you and Best Regards,
ChrisIt looks to me like this is a line from a space delimited file so you should use one of the free CSV parsers such as http://opencsv.sourceforge.net/ . These will handle the quotes properly even if a field actually contains a quote.
-
Help with illegal start of expression in a heap please
hello, i am new to java and i am trying to figure out how to make a heap, then remove the max element (from root), add a new element, and reheap. i don't know if i did it correctly, but the only error that i have now is illegal start of expression. please help if you can - thanks
package dataStructures;
public class MaxHeapExtended extends MaxHeap {
// NO additional data members allowed
// constructors go here
public void changeMax(Comparable c) {
// your code goes here
//I NEED TO REMOVE THE MAXIMUM ELEMENT (remove)
// if heap is empty
if (size == 0) {
return null;
//the maximum element is in position 1
Comparable maxElement = heap[1];
//initialize
Comparable lastElement = heap[size--];
//build last element from root
int currentNode = 1,
//child of currentNode
child = 2;
while (child <= size) {
// heap[child] should be larger child of currentNode
if (child < size && heap[child].compareTo(heap[child + 1]) < 0) {
child++;
//should i put lastElement in heap[currentNode]?if yes:
if (lastElement.compareTo(heap[child]) >= 0) {
break;
else {
//moves the child up a level
heap[currentNode] = heap[child];
//moves the child down a level
currentNode = child;
child *= 2;
heap[currentNode] = lastElement;
//I NEED TO ADD THE NEW ELEMENT TO REPLACE ONE THAT WENT AWAY (put)
// increase array size if necessary
if (size == heap.length - 1) {
heap = (Comparable []) ChangeArrayLength.changeLength1D
(heap, 2 * heap.length);
// find place for theElement
// currentNode starts at new leaf and moves up tree
int currentNode = ++size;
while (currentNode != 1 && heap[currentNode / 2].compareTo(theElement) < 0) {
// cannot put theElement in heap[currentNode]
heap[currentNode] = heap[currentNode / 2]; // move element down
currentNode /= 2; // move to parent
heap[currentNode] = theElement;
//I NEED TO REHEAP
heap = theHeap;
size = theSize;
// heapify
for (int root = size / 2; root >= 1; root--) {
Comparable rootElement = heap[root];
// find place to put rootElement
int child = 2 * root; // parent of child is target
// location for rootElement
while (child <= size) {
// heap[child] should be larger sibling
if (child < size && heap[child].compareTo(heap[child + 1]) < 0) {
child++;
// can we put rootElement in heap[child/2]?
if (rootElement.compareTo(heap[child]) >= 0) {
break; // yes
else {
// no
heap[child / 2] = heap[child]; // move child up
child *= 2; // move down a level
heap[child / 2] = rootElement;
public static void main(String [] args) {
/* 8
7 6
3 5 1
// test constructor and put
MaxHeapExtended h = new MaxHeapExtended(6);
h.put(new Integer(8));
h.put(new Integer(7));
h.put(new Integer(6));
h.put(new Integer(3));
h.put(new Integer(5));
h.put(new Integer(1));
System.out.println("Elements in array order were");
System.out.println(h);
h.changeMax(new Integer(4));
System.out.println("Elements in array order after change are");
System.out.println(h);
}You need to decide on a style for the code your write. A basic decision is whether to put opening { on the same line or on a new line. Right now you have both and it is nearly impossible for anyone to tell whether there are an equal number of { and }. The error message is likely caused by having an unequal number of { and }. You should also have an indentation style for blocks of code. For examplewhile (child <= size) {
if (child < size && heap[child].compareTo(heap[child + 1]) < 0) {
child++;
if (lastElement.compareTo(heap[child]) >= 0) {
break;
} else {
heap[currentNode] = heap[child];
currentNode = child;
child *= 2;
heap[currentNode] = lastElement;
} -
Need help with Apple TV + Airport Express setup
I am newbie to this whole Apple thing. Just switched from Windows world (20+ years of torture) to MacBook Pro about 6 months ago. Loving every minute of it.
Here's what I currently have...
I have a 4000+ sq.ft. home with 3 levels on a 1-acre lot. I have 5 zones for music/movies - 7.1 dedicated Home Theater (lower level), 5.1 HT system for casual TV watching in Family Room, 2.1 system (music only) in my Home Office, 2.1 system (music only) in my Master Bedroom, 5.1 HTiB in Kids Bedroom. All systems have dedicated AVRs/Speakers/Subs (Denon, Harmon Kardon, Yamaha, Polk, Energy, Klipsch etc.).
I have 2 MacBook Pros and 2 Windows Laptops. I have AirportExtreme running a wireless network throughout the house. I have NAS attached to AE. I use iTunes to manage all my media content. I also have a iPhone 3G.
I have ripped all my CDs in Apple Lossless format into iTunes. I listen to free internet radio stations (NO Napster, Raphsody or other subscription-based services). Sometimes watch/listen free video/audio podcasts. I do NOT rent or buy movies/music via iTunes or any other source (just buy old-fashioned CDs/DVDs when neeeded).
Here's what I want to accomplish...
1. Ability to "wirelessly" stream media to any or all zones.
2. Central, easy to use controller for all systems.
3. Should be able to accomplish this functionality without having to keep PC/Mac running.
Ques 1: I have considered Sonos option, but it can't do video content. So, I guess my options are Apple TV + 5 Airport Expresses. Is that correct? Will I be able to accomplish my goal with this setup? Anything I need to be aware of, e.g, network connectivity/slowdown issues, system reliability issues, ease-of-use etc.?
Ques 2: One of the major benefits of Sonos system is the ability to play different music in different zones. From what I understand, this is NOT possible with AppleTV + AirportExpress + iTunes setup. Is that correct?
What if I have iTunes running on 2 separate laptops. Can one laptop play it's own playlist via AirExp-1 and the other laptop play a different playlist via AirExp-2 & AirExp-3? Is this possible? If yes, then I guess this may "simulate" the zoning effect of Sonos (albeit thru 2 separate controllers; but it works for my needs).
Ques 3: I have a MobileMe account to keep my MBP and iPhone in sync. I have lot of Photo Albums in MobileMe Gallery and also in iPhoto on my MBP. How can this me viewed via AppleTV? Would I have to move my iPhoto from MBP to AppleTV HDD?
Ques 4: Currently my iTunes library resides on my MBP. Is there any benefit of putting it on AppleTV HDD?
Ques 5: Can AppleTV HDD be used as backup drive for Time Machine. Currently, I have no choice but to buy Apple Time Capsule to use as wireless backup drive for my MBP; I can't use my NAS for this purpose (From what I've read on forums, I think Apple removed this functionality).
Any input is greatly appreciated. Thank you all.>and Verizon Fios w/ 50mg upload and 25 mg download.
Your internet connection is not relevant this is all runnig across your home network.
>- I want to be able to backup all of my photos, movies and music
Time Machine on MacOS will will already take care of this for you.
>- I want to store all of my movies on a separate devise that wont clog up my mac book pro
So put then do that. You said you have two external drives. (As long as they both have network support) Put the content on one of them and make the other one the back up.
> (ideally I would like a wireless connection)
While technically possible not a great idea. Streaming video over WiFi is usally problemattic and so are large scale data set backups.
>- I want to be able to watch those stored movies through ATV (via itunes)
Only going to work when your Mac is on with iTunes running, but can be done. -
Help with Spry Framework positioning not appearing correctly on pc's
I just created a gallery using the spry framework and finally got it working for me on all the browsers I have on my Mac. The problem is that on my clien'ts pc the gallery div tags end up moving up to the upper left corner and I'm not sure why. They are ap div tags that are supposed to be contained in my main content div and I'm at a lost as to why this is happening. I'm not the best at working directly with code or understanding it fully, usually do most everything with dreamweaver. I appreciate any help that you can give me and thanks for your time.
the site page is here: http://www.montanacraneservice.com/ppcanopylift/ppcanopylift.htmDo you know what browsers are failing?
Seems to work on FF, IE6 and 8... -
Can you help with a layer problem?
I have a photograph. It has a white background. I want to separate the white background from the photograph. The photograph and the white layer are on layer 0. I cannot separate the two. I think I want to raise the photograph to layer 1. Then I can use the separation routine. I have spent about 10 hours messing with without success. This is a 143 K file so I cannot download it. Assume I know nothing which is close to the truth. Step by step would be wonderful.
Thanks in advance.It all depends on the image. Some tools I'd use are the quick selection tool magic wand, the lasso, the pen tool, or channels, refine edges depending on the image.
If the image is simple:
1) double-click the background layer's thumbnail in the layers panel to make a layer out of it.
2) select the background (if it is white, it should be easy) with the quick selection tool or the magic wand.
3) invert your selection (select>invert, or CTRL+Shift+I
3) click the create layer mask icon in the layers panel (white circle inside a grey rectangle)
Searching for "remove background" will give you many results in Google that you could explore.
Also, you will need to save the image in a format that supports transparency, like PNG, Tiff, PSD, but it also depends what you want to do with the image. -
Help with basic CSS positioning
I am learning the rudiments of CSS positioning - I have gone
through the good Macromedia docs and even bought a book which is
useful (HTML Utopia). I am now applying some concepts to my first
site.
Oh how I thought I knew how to apply theory.
The sily thing is I am stuck on a very basic stage. And I
just cant figure out the solution. This is my problem.
I want to centre my site on the page so I created a #wrapper
<div> which works fine
Then, I wanted to position two <div> 'boxes', each
containing a logo within this wrapper, next to each other, left to
right, with a small margin imbetween them.
The first box on the left aligns fine, relatively positioned
to the wrapper. Great.
However, the next box 'jumps' down to the next line, even
though there is space within the wrapper element for it. I assumed
as <div> tag elements 'flow' after each other, it would
continue right. But no, it flows onto the next line, a bit like
this
image 1
image 2
I was after
image 1 image 2
What am I doing wrong. Im sure Im missing the obvious. Should
I be floating at this stage?
Forgive me - Im grasping the concepts here
Heres the code:
CSS
#master_wrapper {
width: 760px;
margin-top: 0px;
margin-bottom: 0px;
margin-right: auto;
margin-left: auto;
position: relative;
#logo_box {
width: 145px;
height: 120px;
position: relative;
#banner_box {
width: 580px;
height: 120px;
margin-top: 0;
margin-left: 25px;
position: relative;
HTML
<body>
<div id="master_wrapper">
<div id="logo_box"><img
src="website_graphics/index_page/logo.jpg" alt="Logo" width="145"
height="120" />
</div>
<div id="banner_box"><img
src="website_graphics/index_page/banner_cityscape.jpg" alt="Banner"
width="580" height="120"/>
</div>
</body>
If you are feeling especially kind, could you let me know the
correct code to position a further 2 boxes which sit under the logo
and the banner respectively
Yours, cap in hand
Chris> The first box on the left aligns fine, relatively
positioned to the
> wrapper.
> Great.
Remove the relative positioning. You don't need it. Now,
float that box
left.
> However, the next box 'jumps' down to the next line,
even though there is
> space within the wrapper element for it. I assumed as
<div> tag elements
> 'flow'
> after each other, it would continue right. But no, it
flows onto the next
> line,
> a bit like this
Div tags are block tags - that means that unless told not to,
the occupy the
entire line within their container, thus forcing them to a
new line, and all
adjacent content above and below.
Remove the position:relative from all your divs, and just
make the first two
float left.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"socks_" <[email protected]> wrote in
message
news:[email protected]...
>I am learning the rudiments of CSS positioning - I have
gone through the
>good
> Macromedia docs and even bought a book which is useful
(HTML Utopia). I am
> now
> applying some concepts to my first site.
>
> Oh how I thought I knew how to apply theory.
>
> The sily thing is I am stuck on a very basic stage. And
I just cant figure
> out
> the solution. This is my problem.
>
> I want to centre my site on the page so I created a
#wrapper <div> which
> works
> fine
>
> Then, I wanted to position two <div> 'boxes', each
containing a logo
> within
> this wrapper, next to each other, left to right, with a
small margin
> imbetween
> them.
>
> The first box on the left aligns fine, relatively
positioned to the
> wrapper.
> Great.
>
> However, the next box 'jumps' down to the next line,
even though there is
> space within the wrapper element for it. I assumed as
<div> tag elements
> 'flow'
> after each other, it would continue right. But no, it
flows onto the next
> line,
> a bit like this
>
> image 1
> image 2
>
> I was after
>
> image 1 image 2
>
> What am I doing wrong. Im sure Im missing the obvious.
Should I be
> floating at
> this stage?
>
> Forgive me - Im grasping the concepts here
>
> Heres the code:
>
> CSS
> #master_wrapper {
> width: 760px;
> margin-top: 0px;
> margin-bottom: 0px;
> margin-right: auto;
> margin-left: auto;
> position: relative;
> }
>
> #logo_box {
> width: 145px;
> height: 120px;
> position: relative;
> }
>
> #banner_box {
> width: 580px;
> height: 120px;
> margin-top: 0;
> margin-left: 25px;
> position: relative;
> }
>
>
> HTML
>
> <body>
> <div id="master_wrapper">
>
> <div id="logo_box"><img
src="website_graphics/index_page/logo.jpg"
> alt="Logo"
> width="145" height="120" />
> </div>
>
> <div id="banner_box"><img
> src="website_graphics/index_page/banner_cityscape.jpg"
alt="Banner"
> width="580"
> height="120"/>
> </div>
> </body>
>
> If you are feeling especially kind, could you let me
know the correct code
> to
> position a further 2 boxes which sit under the logo and
the banner
> respectively
>
> Yours, cap in hand
>
> Chris
> -
[solved] Need a little help with sed and regular expressions
Hello!
I am shure this is something easy for most of you
I want to make a script, which converts filenames of my ripped MP3s (replaces '_' with spaces, removes leading track numbers...)
But I have some problems:
j=$(echo $j | sed 's/_\+/ /g')
j=$(echo $j | sed 's/^[0-9]{0,3}//g')
j=$(echo $j | sed 's/[^ ]-[^ ]/ - /g')
j=$(echo $j | sed 's/_\+/ /g') << this is working fine (converts all "_" to spaces)
j=$(echo $j | sed 's/^[0-9]{0,3}//g') << is NOT working, why??
For Example in "01-somebody_feat_someone-somemusic.mp3" the leading "01" number is NOT being removed..
j=$(echo $j | sed 's/[^ ]-[^ ]/ - /g') << how can I insert spaces before and after the "-"?
So that "someone-somemusic" becomes "someone - somemusic" (but only where "-" is surrounded by letters)
Last edited by cyberius (2011-07-27 18:50:54)For sed, you must escape { and } to use them as you want (just slap a \ before them).
For the last expression, capture the letter before/after the dash -- use \( and \) -- and then substitute it for something like "\1 -" and then "- \1". You'll want to split this into two pieces, one for the front and one for the back so you can get "somemusic -someband" the way you want without a bunch of cases.
Edit: Or, you could just do a replace for "-" to be " - " and then have another expression to reduce spaces. I see you've used \+ before, so I'm guessing you can figure that out
Also, sed has the -e switch so you can do multiple different expressions with one invocation.
Also (also), have you looked into something like Picard with automatic track renaming? You can even customize how they are renamed.
Edit (2): Also^3, check out prename. There are different versions, ones which use PCRE and ones that use other standards, but it is for renaming files based on regular expressions, which is what you're doing. In any case, you might want to put you script into the User made scripts thread when you feel more comfortable and get some more critiquing, if you're interested.
Last edited by jac (2011-07-26 23:13:27) -
Need help with ORA-00936: missing expression
11.2.0.3
desc killsessionlog
Name Null? Type
KILLTIME NOT NULL DATE
USERNAME NOT NULL VARCHAR2(30)
SID NOT NULL NUMBER
SERIAL# NOT NULL NUMBER
CTIME NOT NULL NUMBER
MACHINE VARCHAR2(64)
TERMINAL VARCHAR2(30)
PROGRAM VARCHAR2(48)
ACTION VARCHAR2(64)
MODULE VARCHAR2(64)want to test the code to kill the blocker
SQL> create or replace procedure killblocker
2 is
3 stmt varchar2(1000);
4 cursor c1 is
5 select s1.SQL_EXEC_START+l1.ctime killtime, s1.username,s1.sid,s1.serial#,l1.ctime ,s1.machine
,s1.TERMINAL, s1.PROGRAM,s1.ACTION,s1.MODULE
6 from v$lock l1, v$session s1, v$lock l2, v$session s2
7 where s1.sid=l1.sid and s2.sid=l2.sid
8 and l1.BLOCK=1 and l2.request > 0
9 and l1.id1 = l2.id1
10 and l2.id2 = l2.id2
11 and l1.ctime >0;
12 begin
13 for i in c1 loop
14 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION ''' || i.sid || ',' || i.serial# || '''';
15 stmt := 'insert into killsessionlog values ('||i.killtime||','|| i.username||','||i.sid||','||i
.serial#||','||i.ctime||','||i.machine||','||i.TERMINAL||','|| i.PROGRAM||','||i.ACTION||','||i.MODU
LE||')'
16 ;
17 EXECUTE IMMEDIATE stmt;
18 dbms_output.put_line('SID '||i.sid ||' with serial# '||i.serial#||' was killed');
19 END LOOP;
20 END;
21 /
Procedure created.created the blocker and blocked sessions.
SQL> exec killblocker
BEGIN killblocker; END;
ERROR at line 1:
ORA-00936: missing expression
ORA-06512: at "NN.KILLBLOCKER", line 17
ORA-06512: at line 1the first EXECUTE IMMEDIATE for killing the session worked, but the 2nd EXECUTE IMMEDIATE for the insert failed as above. Not able to figure the problem.
TIASQL> create or replace procedure killblocker
2 is
3 stmt varchar2(1000);
4 cursor c1 is
5 select s1.SQL_EXEC_START+l1.ctime killtime, s1.username,s1.sid,s1.serial#,l1.ctime ,s1.machine
,s1.TERMINAL, s1.PROGRAM,s1.ACTION,s1.MODULE
6 from v$lock l1, v$session s1, v$lock l2, v$session s2
7 where s1.sid=l1.sid and s2.sid=l2.sid
8 and l1.BLOCK=1 and l2.request > 0
9 and l1.id1 = l2.id1
10 and l2.id2 = l2.id2
11 and l1.ctime >0;
12 begin
13 for i in c1 loop
14 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION ''' || i.sid || ',' || i.serial# || '''';
15 stmt := 'insert into killsessionlog values (:killtime, :username, :sid, :serial#, :ctime, :machine, :TERMINAL, :PROGRAM, :ACTION, :MODULE)'
16 ;
17 EXECUTE IMMEDIATE stmt using i.killtime, i.username, i.sid, i.serial#, i.ctime, i.machine, i.TERMINAL, i.PROGRAM, i.ACTION, i.MODULE;
18 dbms_output.put_line('SID '||i.sid ||' with serial# '||i.serial#||' was killed');
19 END LOOP;
20 END;
21 / Gerard -
I need help with my Final Cut Express HD
When I click on Final Cut Express HD file, it is saying I have an error and it will open, why is this happening? It was working before and now it is not.
There is absolutely no way anyone can know what is causing the problem unless you give full details of your computer setup, what you have been doing etc. etc.
It's like telling a doctor you are not feeling well and giving him (or her) no more information.
The only possible advice with so little to go on would be to Trash the Preferences and if that didn't work, completely UNINSTALL and reinstall FCE:-
http://docs.info.apple.com/article.html?artnum=93690
http://docs.info.apple.com/article.html?artnum=301182
Ian. -
Need help with my layer styles pop up!!!
Hello,
Hopefully someone can help me out here. I am currently running the new creative suite 6. Everything works perfectly fine but when I am in photoshop trying to open my layer styles it will not pop up...but I know it's there because the hand shows up and I can't click anything else until I click enter which would mean im done in the layer styles. I restarted my computer/re-installed photshop/downloaded the update...still doesn't work but it once did. Does anyone have any clue why this would happen.
Thank you,
KevinYou might also reset the photoshop cs6 preferences and see if that clears things up.
(preferences are not reset when reinstalling the software)
Restore all preferences to default settings
Press and hold Alt+Control+Shift (Windows) or Option+Command+Shift (Mac OS) as you start Photoshop. You are prompted to delete the current settings.
New Preferences files are created the next time you start Photoshop. -
Help with php and regular expressions
I am making a package and would like php to execute sed - command during setup (when user goes to installation php page and submits info). Like this:
exec("sed -i 's|^.*$db_host.*$|$db_host="$HOST";|' config.php");
exec("sed -i 's|^.*$db_user.*$|$db_user="$IPUSER";|' config.php");
exec("sed -i 's|^.*$db_password.*$|$db_password="$IPUSERPASS";|' config.php");
exec("sed -i 's|^.*$db_name.*$|$db_name="$DBNAME";|' config.php");
exec("sed -i 's|^.*$url_base.*$|$url_base="$URLBASE";|' config.php");
Apparently something is wrong with escapes because sed never gets any matches that it would replace.phrakture wrote:
mmgm wrote:
cactus wrote:and there is no reason to stick a .* on the front of the regexp. Just make sure the variables have no blank space at the start of the line in front of them.
Making sure you have no blank space before the variable is quite a demand for people obsessed with tabbing, like me.
I swear, if my tab key ever breaks, I'm gonna start smashing things.
I'm such a clean-code-whore.
but this is a config file... do you really tab out your config files?
Config files are usually ment to be human-readable. This is why they usually contain comments and such. Tabbing makes code more readable and therefore I find it usefull in any file which contains text of any sort. In the end, it's going to make your life a whole lot easier. -
Need help with footer div positioning
hi guys,
thank you for checking out my post...
on my website i want a footer div to sit at the very bottom
of the page. if the content requires the page to be scrolled i
would like the footer to be pushed down still at the bottom.
so basically, whether the page needs to be scrolled or not,
the footer div will be at the absolute bottom of the page. hope
that makes sense!
ive been trying and trying with endless tutorials and trying
different things that i know but to no avail.
if you could have a look at my site
here i would
be most grateful for any advice or solutions.
thank you once again and i hope to hear from you.
all the best,
smSpindrift wrote:
>
quote:
either make that bottom:0px; or bottom:0;
>
> oops! sorry, my bad! ive made the correction
> now the footer kind of works but just stays in the same
place as the content
> scrolls behind it.
> when no scrolling is needed on a page what we have is
good though.
> im after getting the content to push the footer down to
the bottom of the page
> so when you scroll down to the bottom (if the page needs
to be scrolled) the
> footer will be at the bottom (of the page not screen) if
that makes sense.
> many thanks,
> sm
>
You could check out this demo - view the code - paying
attention to the
comments in the embedded css, particularly, the padding on
the #body
(note that this is a div and not the body tag) div and the
height of the
#footer div.......
http://matthewjamestaylor.com/blog/bottom-footer-demo.htm
Personally I'd just let it go with the flow :-)
chin chin
Sinclair -
Hi forum group,
I'm having a problem with layers not being visible after
adding a .wav sound file behavior on page load. Any suggestions as
to what could be causing that problem?URL to your page?
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner''s
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"gracest" <[email protected]> wrote in
message
news:evm5kr$33p$[email protected]..
> Hi forum group,
> I'm having a problem with layers not being visible after
adding a .wav
> sound file behavior on page load. Any suggestions as to
what could be
> causing that problem?
Maybe you are looking for
-
Dear All Am using SAP B1 2005 pl 40 I have approval stage for Purchase order like Stage Name: Purchase order No. of Approvals Required: 1 User A B C Here any one Authorizer can approve a
-
Cannot associate media file types .swf .flv with Adobe Flash media player
I have been trying to associate these media types ( .swf .flv ) with Adobe Flash media player (9.0.124 latest from Adobe site) but cannot see the program in the list (looked under Adobe, Flash, Macromedia, Common etc) after loading. I have repeated t
-
Error in POST method of "FIPP".
Hello friends, Could you please help me to find out what could be wrong with following error. Whenever WF tries to post the FI document in background through "POST" menthod, it gets following error message. "The transaction was terminated by the use
-
How to open the specific folder view with JS
Hi, Maybe very simple thing, but I don´t know how to "open" the view to an excisting folder like "Macintosh HD/MyDocs/This_Folder" ? Thanks in advance! Erkki
-
I have been having problems getting Thickbox or Greybox windows to popup when I place the anchor tag containing attributes for these calls inside a spry region. It ends up opening up the image as a normal hyperlink would. Once I move this call to eit