I have static image like below, within image various buttons are there like Main,F1, F2 etc., need to make those buttons clickable and call api.
In what all ways we can achieve this scenario's, any leads would be very helpful.
Detect clickable areas within <img> tag in Ionic project
67 Views Asked by Sachin Km At
1
There are 1 best solutions below
Related Questions in HTML
- How to store a date/time in sqlite (or something similar to a date)
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- Is there any way to glow this bulb image like a real light bulb
- With non-graphical maps in Leaflet, zoomDelta doesn't work
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- Displaying a Movie List on a Website Using Jinja2 and Bootstrap
- How to redirect to thank you page after submitting a Google form embedded into a Google Site?
- Storing selected language in localStorage
- Fences (parenthesis, braces) in HTML and MathML
- Understanding Scroll Anchoring Behavoir
Related Questions in ANGULAR
- Firebase link existing user to anonymous account?
- It doesnt always show all the books on my homepage
- Google adsense ads.txt status cannot be not found
- When I navigate to the URL'http://localhost:4200/', it redirects me back
- Ionic Angular Standalone ion-icon are not showing at all
- How to make Angular understand that view child is of a specific type, not a general ElementRef?
- vscode, debug angular, first time, doesn't debug, 2nd time stops at main.js then it's ok
- How to perform CRUD operations on a static JSON array in Angular? (without API)
- Ngrx props<>() method in createAction()
- How to animate rotation of an image inside input control?
- Detecting click inside and outside of the listening component in Angular
- Angular - type guard not narrowing types
- In node_modules file i am getting Angular genric error while using fontawesome in angular12
- Angular 16 sending null values to API
- GoogleCloud Error: Not Found The requested URL was not found on this server
Related Questions in CORDOVA
- how to get rid of the cordova screen when you open the app
- How to build a codesandbox project to android apk?
- Cordova Android run failed
- Cordova Build issue since version 12.0.0
- cordova-background-geolocation-plugin don't giving any response in cordova android app
- provider duplicate while compiling a Cordova application for the Android platform
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- gradle keeps failing. Cordova run. Vscode
- Cordova plugin splashscreen issue while Azure Devops with ant build using android-cordova application
- Ionic 3 issue while generating AAB file
- Xcode Undefined symbols, Linker command failed with exit code 1 (use -v to see invocation)
- Xcode 15.3 build failed
- Samsung screen zoom ruining my cordova built android app
- command: ionic server Killed 9
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in UI-AUTOMATION
- Firefox automatically choose certificate, without ui dialog
- How to automate the android phone back button using appium
- Find a windows control using partial NameProperty in windows automation
- Read a Xcode Instruments .trace file generated from Automation.tracetemplate
- Get TitleBar Caption of any application using Microsoft UI Automation?
- How To Get Window handles In Mozilla Firefox
- How to check a checkbox with microsoft uiautomation?
- How to scroll down the screen in the android espresso test? I need to validate the text present on the screen
- how to use Instrumentation under the uiautomator project?
- How would Android UiAutomator behave if it encounters "Force Close or ANR"
- How to check control visibility in WPF app using Test Studio, Ranorex or TestComplete test tool
- How to automate the Ace Editor (send keys) using WebDriver?
- Best practices for implementing Page Object model for pages with many elements
- How to make UI Automation click a button with no id?
- Automatic PL/SQL Webtool kit based application using selenium
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It would be better to not use an image. it would be better to do your buttons in HTML and style them as you wish. You could also create the buttons in HTML and set the background of the button, as an image.
if you really want to use this image, you should create some button, make them transparent with CSS and place them (maybe with absolute position) over the image in the corrisponding spots
Edit (thanks Christoph Rackwitz):
probably the best solution would be to use the
<map>tag: https://www.w3schools.com/tags/tag_map.asp