i made a button & i used a on click event on this. So it can show some images. but after that when i click on another button for showing some text the images still upon there. Images hide the text. what will be the solution ?
So the problem is you see images and you don't want to see them? Then the blindingly obvious solution is to remove the images. You didn't give any details on how you add the images, so can't give specific advice on how to remove them.
Related
Hi I am doing an assignment that recquires me to only use html and css only no javascript. Usually, with javascript this is hella easy to do but html and css only is a bit annoying. In my first page I have a link to my second but when I press the link from the first page to go onto the second page. The animation I made does not work at all and the secondary text only shows up.
I will provide photos and code to show what I mean. I dont understand what I am doing incorrectly to cause this but it is annoying.
firstpage
second page
from the first page going onto the second via clicking 'start' the second text only shows up but I need the whole thing to show up. Heres the animation part I want to show up as well. animation_part
second page html:
html
second page css
css-part1
css-part2
I am not sure if this will further show my predicament but heres the code for the first html and css pages:
For some reason it is not allowing me to post the code here so I have done my best to showcase to go around the error
GITHUB: https://github.com/TheGraeDev/ADV201
It might be possible that your required character went to the back of main background. Try changes in css to bring your panda to front. Hope it helps!
Okay Incase anyone else comes across the same issue. Change position to relative and instead of using percentage value for Top in css using px. it fixed the problem
I am trying to cover a website and here is its link https://shopee.vn/demo.vn
At the text "thông báo", when you hover to it, it will show you a table as you can see in this photo
My problem is, when I click to :hover and use tool to measure the photo and download the image to copy it, it disappeared.
I think that when I use :hover, it must display the photo ? Or when I click to the link below which belong to the photo, there is some properties like visibility or something like that ?
I want to display the photo to download the image and the text really.
Could you please help me to solve this problem ? Thank you very much for your time.
run code below below on browser console or snippets to simulate mouseover (mouse hover) then go to Elements tab.
var event = new MouseEvent('mouseover', {
'view': window,
'bubbles': true,
'cancelable': true
});
document.querySelectorAll('.stardust-popover__target')[0].dispatchEvent(event);
I am very interested in improving my browsing experience by never seeing images of the cast of "Friends" again. I know that I can uncheck "show pictures" in IE's advanced options, but I would prefer to just filter out certain images based on the description text. Is it possible in any browser to show most images, but hide an image if the description contains "Aniston" for example?
Well, you don't know the "description"/tag of the image of a website before you are on it and inspecting it. So to my knowledge it's not possible yet.
You could write an Extension to do this, or add a bookmark with an Url of:
javascript:(document.querySelectorAll("img[alt=Aniston]").forEach(img=>img.style.display="none"))
to your Bookmarks. Everytime you click on that bookmark, all image elements with an Describtion of "Aniston" will be hidden.
If you want an Extension to do this, contact me.
Is there any way to create clickable hotspots over a JPEG image in order to navigate to a different image/page? I would like to achieve this without having to code everything in manually and InVision has a lot of limitations.
Any suggestions would be appreciated.
If you want to make parts of an image clickable, just use an image map. http://www.w3schools.com/tags/tag_map.asp
to do this without coding it in manually you will need some application to make the code for you. it'd be faster for a 1-time use to just set a size for your image, and then make areas (like div's) that are set in place of where it looks like a button on the image, and set their onclick to be a link to your other page or file.
I'm building an access database for my music catalog. I've created one main table with a bunch of queries. I want to make a decent looking front end. I have a bunch of buttons with macros assigned to them already. The problem (which I presume is something very small that I'm missing) is that I added a picture to the button it's just a picture of vinyls that would run a query to show my vinyls. The picture only displays a portion rather than the whole picture. I can get it to show the picture by expanding the button size but this is not desired.
Any help is appreciated.
Thank you and Happy Thanksgiving.
The button doesn't resize the image you assign to it.
You first need to resize your picture files to whatever size you deem suitable for the button, then use that scaled down image.
Alternatively, you can use the Image control instead of a button. That control will allow you to resize the image inside it, but it will generally appear slightly blurry, depending on the image and the dimensions you resize it to.
Also, forcing Access to load larger image and then resize them can make your application less responsive if you have a lot of images, since you make it do extra work.
A workaround is to work with an image and a button.
Insert and size the image you need in the form
Add a button, setting its property "transparent" to true
Overlay the transparent buton over the image
Make sure the button is on the topmost layer usuing the "bring forward" in the image menu. We have then the transparent button over the picture
Associate VBA code or macro to transparent button.
For all intent and purposes, user will click on an image, but because there is a transparent button over it, will be in fact clicking on the button