Memory
Guest
|
 |
« on: August 16, 2023 @919.33 » |
|
hey there, had another question for a little problem ive been trying to solve. i added a webamp player to one of my pages, and couldnt figure out how to reposition it on said page. after seeing other sites, i noticed that webamp players can load anywhere on a page. what code would i need to do this? here is the code for the page i mentioned :p : https://jsfiddle.net/anonredfox/Lh0xgodw/im trying to reposition the webamp so it loads on the bottom left corner of the left box
|
|
|
Logged
|
|
|
|
|
Memory
Guest
|
 |
« Reply #2 on: August 17, 2023 @960.46 » |
|
ahh i see, thanks for the explanation! i wondered why the code had 'app' in it. okay so, i changed app to 'boxthree' to test and see if it would make the webamp player load in that div and it didnt seem to work for some reason  am i maybe writing the code wrong? #boxthree {
border: red 4px dotted;
position: relative;
width: 600px;
height: 700px;
right: -1280px;
bottom: 30px;
}
this is said div webamp.renderWhenReady(document.getElementById('boxthree'));
and this is what i put for the webamp, but it seems to load the player back in its regular position
|
|
|
Logged
|
|
|
|
|
Memory
Guest
|
 |
« Reply #4 on: August 17, 2023 @993.54 » |
|
thank you, your solution worked! the way html works is very interesting heh now one more question if you dont mind; since the webamp is now in the middle of the div, what would i need to do to make it be positioned at the bottom left corner of that same div?
|
|
|
Logged
|
|
|
|
|
Memory
Guest
|
 |
« Reply #6 on: August 17, 2023 @10.59 » |
|
alrighty, ill do that thanks once more for the help!  webamp stuff seemed a bit confusing at first, but i have a better understanding of it now
|
|
|
Logged
|
|
|
|